@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChildShard extends Object implements Serializable, Cloneable, StructuredPojo
Output parameter of the GetRecords API. The existing child shard of the current shard.
| Constructor and Description |
|---|
ChildShard() |
| Modifier and Type | Method and Description |
|---|---|
ChildShard |
clone() |
boolean |
equals(Object obj) |
HashKeyRange |
getHashKeyRange() |
List<String> |
getParentShards()
The current shard that is the parent of the existing child shard.
|
String |
getShardId()
The shard ID of the existing child shard of the current shard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setHashKeyRange(HashKeyRange hashKeyRange) |
void |
setParentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
|
void |
setShardId(String shardId)
The shard ID of the existing child shard of the current shard.
|
String |
toString()
Returns a string representation of this object.
|
ChildShard |
withHashKeyRange(HashKeyRange hashKeyRange) |
ChildShard |
withParentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
|
ChildShard |
withParentShards(String... parentShards)
The current shard that is the parent of the existing child shard.
|
ChildShard |
withShardId(String shardId)
The shard ID of the existing child shard of the current shard.
|
public void setShardId(String shardId)
The shard ID of the existing child shard of the current shard.
shardId - The shard ID of the existing child shard of the current shard.public String getShardId()
The shard ID of the existing child shard of the current shard.
public ChildShard withShardId(String shardId)
The shard ID of the existing child shard of the current shard.
shardId - The shard ID of the existing child shard of the current shard.public List<String> getParentShards()
The current shard that is the parent of the existing child shard.
public void setParentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
parentShards - The current shard that is the parent of the existing child shard.public ChildShard withParentShards(String... parentShards)
The current shard that is the parent of the existing child shard.
NOTE: This method appends the values to the existing list (if any). Use
setParentShards(java.util.Collection) or withParentShards(java.util.Collection) if you want to
override the existing values.
parentShards - The current shard that is the parent of the existing child shard.public ChildShard withParentShards(Collection<String> parentShards)
The current shard that is the parent of the existing child shard.
parentShards - The current shard that is the parent of the existing child shard.public void setHashKeyRange(HashKeyRange hashKeyRange)
hashKeyRange - public HashKeyRange getHashKeyRange()
public ChildShard withHashKeyRange(HashKeyRange hashKeyRange)
hashKeyRange - public String toString()
toString in class ObjectObject.toString()public ChildShard clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.