@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) |
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 Object
Object.toString()
public ChildShard clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.