@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatastorePartitions extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the partition dimensions in a data store.
| Constructor and Description |
|---|
DatastorePartitions() |
| Modifier and Type | Method and Description |
|---|---|
DatastorePartitions |
clone() |
boolean |
equals(Object obj) |
List<DatastorePartition> |
getPartitions()
A list of partition dimensions in a data store.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPartitions(Collection<DatastorePartition> partitions)
A list of partition dimensions in a data store.
|
String |
toString()
Returns a string representation of this object.
|
DatastorePartitions |
withPartitions(Collection<DatastorePartition> partitions)
A list of partition dimensions in a data store.
|
DatastorePartitions |
withPartitions(DatastorePartition... partitions)
A list of partition dimensions in a data store.
|
public List<DatastorePartition> getPartitions()
A list of partition dimensions in a data store.
public void setPartitions(Collection<DatastorePartition> partitions)
A list of partition dimensions in a data store.
partitions - A list of partition dimensions in a data store.public DatastorePartitions withPartitions(DatastorePartition... partitions)
A list of partition dimensions in a data store.
NOTE: This method appends the values to the existing list (if any). Use
setPartitions(java.util.Collection) or withPartitions(java.util.Collection) if you want to
override the existing values.
partitions - A list of partition dimensions in a data store.public DatastorePartitions withPartitions(Collection<DatastorePartition> partitions)
A list of partition dimensions in a data store.
partitions - A list of partition dimensions in a data store.public String toString()
toString in class ObjectObject.toString()public DatastorePartitions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.