@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChildShard extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ChildShard() |
Modifier and Type | Method and Description |
---|---|
ChildShard |
clone() |
boolean |
equals(Object obj) |
HashKeyRange |
getHashKeyRange() |
List<String> |
getParentShards() |
String |
getShardId() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHashKeyRange(HashKeyRange hashKeyRange) |
void |
setParentShards(Collection<String> parentShards) |
void |
setShardId(String shardId) |
String |
toString()
Returns a string representation of this object.
|
ChildShard |
withHashKeyRange(HashKeyRange hashKeyRange) |
ChildShard |
withParentShards(Collection<String> parentShards) |
ChildShard |
withParentShards(String... parentShards)
NOTE: This method appends the values to the existing list (if any).
|
ChildShard |
withShardId(String shardId) |
public void setShardId(String shardId)
shardId
- public String getShardId()
public ChildShard withShardId(String shardId)
shardId
- public void setParentShards(Collection<String> parentShards)
parentShards
- public ChildShard withParentShards(String... parentShards)
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
- public ChildShard withParentShards(Collection<String> parentShards)
parentShards
- 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.