@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatastorePartition extends Object implements Serializable, Cloneable, StructuredPojo
A single dimension to partition a data store. The dimension must be an AttributePartition
or a
TimestampPartition
.
Constructor and Description |
---|
DatastorePartition() |
Modifier and Type | Method and Description |
---|---|
DatastorePartition |
clone() |
boolean |
equals(Object obj) |
Partition |
getAttributePartition()
A partition dimension defined by an
attributeName . |
TimestampPartition |
getTimestampPartition()
A partition dimension defined by a timestamp attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributePartition(Partition attributePartition)
A partition dimension defined by an
attributeName . |
void |
setTimestampPartition(TimestampPartition timestampPartition)
A partition dimension defined by a timestamp attribute.
|
String |
toString()
Returns a string representation of this object.
|
DatastorePartition |
withAttributePartition(Partition attributePartition)
A partition dimension defined by an
attributeName . |
DatastorePartition |
withTimestampPartition(TimestampPartition timestampPartition)
A partition dimension defined by a timestamp attribute.
|
public void setAttributePartition(Partition attributePartition)
A partition dimension defined by an attributeName
.
attributePartition
- A partition dimension defined by an attributeName
.public Partition getAttributePartition()
A partition dimension defined by an attributeName
.
attributeName
.public DatastorePartition withAttributePartition(Partition attributePartition)
A partition dimension defined by an attributeName
.
attributePartition
- A partition dimension defined by an attributeName
.public void setTimestampPartition(TimestampPartition timestampPartition)
A partition dimension defined by a timestamp attribute.
timestampPartition
- A partition dimension defined by a timestamp attribute.public TimestampPartition getTimestampPartition()
A partition dimension defined by a timestamp attribute.
public DatastorePartition withTimestampPartition(TimestampPartition timestampPartition)
A partition dimension defined by a timestamp attribute.
timestampPartition
- A partition dimension defined by a timestamp attribute.public String toString()
toString
in class Object
Object.toString()
public DatastorePartition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.