@Internal public class StreamShardMetadata extends Object implements Serializable
Shard
and
its nested classes. The disintegration is required to avoid being locked-in to a specific AWS SDK
version in order to maintain the consumer's state backwards compatibility.Modifier and Type | Class and Description |
---|---|
static class |
StreamShardMetadata.EquivalenceWrapper
An equivalence wrapper that only checks for the stream name and shard id for equality.
|
Constructor and Description |
---|
StreamShardMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAdjacentParentShardId() |
String |
getEndingHashKey() |
String |
getEndingSequenceNumber() |
String |
getParentShardId() |
String |
getShardId() |
String |
getStartingHashKey() |
String |
getStartingSequenceNumber() |
String |
getStreamName() |
int |
hashCode() |
void |
setAdjacentParentShardId(String adjacentParentShardId) |
void |
setEndingHashKey(String endingHashKey) |
void |
setEndingSequenceNumber(String endingSequenceNumber) |
void |
setParentShardId(String parentShardId) |
void |
setShardId(String shardId) |
void |
setStartingHashKey(String startingHashKey) |
void |
setStartingSequenceNumber(String startingSequenceNumber) |
void |
setStreamName(String streamName) |
String |
toString() |
public void setStreamName(String streamName)
public void setShardId(String shardId)
public void setParentShardId(String parentShardId)
public void setAdjacentParentShardId(String adjacentParentShardId)
public void setStartingHashKey(String startingHashKey)
public void setEndingHashKey(String endingHashKey)
public void setStartingSequenceNumber(String startingSequenceNumber)
public void setEndingSequenceNumber(String endingSequenceNumber)
public String getStreamName()
public String getShardId()
public String getParentShardId()
public String getAdjacentParentShardId()
public String getStartingHashKey()
public String getEndingHashKey()
public String getStartingSequenceNumber()
public String getEndingSequenceNumber()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.