|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.kinesis.model.Shard
public class Shard
A uniquely identified group of data records in an Amazon Kinesis stream.
Constructor Summary | |
---|---|
Shard()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAdjacentParentShardId()
The shard Id of the shard adjacent to the shard's parent. |
HashKeyRange |
getHashKeyRange()
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. |
String |
getParentShardId()
The shard Id of the shard's parent. |
SequenceNumberRange |
getSequenceNumberRange()
The range of possible sequence numbers for the shard. |
String |
getShardId()
The unique identifier of the shard within the Amazon Kinesis stream. |
int |
hashCode()
|
void |
setAdjacentParentShardId(String adjacentParentShardId)
The shard Id of the shard adjacent to the shard's parent. |
void |
setHashKeyRange(HashKeyRange hashKeyRange)
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. |
void |
setParentShardId(String parentShardId)
The shard Id of the shard's parent. |
void |
setSequenceNumberRange(SequenceNumberRange sequenceNumberRange)
The range of possible sequence numbers for the shard. |
void |
setShardId(String shardId)
The unique identifier of the shard within the Amazon Kinesis stream. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Shard |
withAdjacentParentShardId(String adjacentParentShardId)
The shard Id of the shard adjacent to the shard's parent. |
Shard |
withHashKeyRange(HashKeyRange hashKeyRange)
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers. |
Shard |
withParentShardId(String parentShardId)
The shard Id of the shard's parent. |
Shard |
withSequenceNumberRange(SequenceNumberRange sequenceNumberRange)
The range of possible sequence numbers for the shard. |
Shard |
withShardId(String shardId)
The unique identifier of the shard within the Amazon Kinesis stream. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Shard()
Method Detail |
---|
public String getShardId()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
public void setShardId(String shardId)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
shardId
- The unique identifier of the shard within the Amazon Kinesis stream.public Shard withShardId(String shardId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
shardId
- The unique identifier of the shard within the Amazon Kinesis stream.
public String getParentShardId()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
public void setParentShardId(String parentShardId)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
parentShardId
- The shard Id of the shard's parent.public Shard withParentShardId(String parentShardId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
parentShardId
- The shard Id of the shard's parent.
public String getAdjacentParentShardId()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
public void setAdjacentParentShardId(String adjacentParentShardId)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
adjacentParentShardId
- The shard Id of the shard adjacent to the shard's parent.public Shard withAdjacentParentShardId(String adjacentParentShardId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
adjacentParentShardId
- The shard Id of the shard adjacent to the shard's parent.
public HashKeyRange getHashKeyRange()
public void setHashKeyRange(HashKeyRange hashKeyRange)
hashKeyRange
- The range of possible hash key values for the shard, which is a set of
ordered contiguous positive integers.public Shard withHashKeyRange(HashKeyRange hashKeyRange)
Returns a reference to this object so that method calls can be chained together.
hashKeyRange
- The range of possible hash key values for the shard, which is a set of
ordered contiguous positive integers.
public SequenceNumberRange getSequenceNumberRange()
public void setSequenceNumberRange(SequenceNumberRange sequenceNumberRange)
sequenceNumberRange
- The range of possible sequence numbers for the shard.public Shard withSequenceNumberRange(SequenceNumberRange sequenceNumberRange)
Returns a reference to this object so that method calls can be chained together.
sequenceNumberRange
- The range of possible sequence numbers for the shard.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |