@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusteringKey extends Object implements Serializable, Cloneable, StructuredPojo
The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.
| Constructor and Description |
|---|
ClusteringKey() |
| Modifier and Type | Method and Description |
|---|---|
ClusteringKey |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name(s) of the clustering column(s).
|
String |
getOrderBy()
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name(s) of the clustering column(s).
|
void |
setOrderBy(String orderBy)
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
String |
toString()
Returns a string representation of this object.
|
ClusteringKey |
withName(String name)
The name(s) of the clustering column(s).
|
ClusteringKey |
withOrderBy(SortOrder orderBy)
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
ClusteringKey |
withOrderBy(String orderBy)
Sets the ascendant (
ASC) or descendant (DESC) order modifier. |
public void setName(String name)
The name(s) of the clustering column(s).
name - The name(s) of the clustering column(s).public String getName()
The name(s) of the clustering column(s).
public ClusteringKey withName(String name)
The name(s) of the clustering column(s).
name - The name(s) of the clustering column(s).public void setOrderBy(String orderBy)
Sets the ascendant (ASC) or descendant (DESC) order modifier.
orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.SortOrderpublic String getOrderBy()
Sets the ascendant (ASC) or descendant (DESC) order modifier.
ASC) or descendant (DESC) order modifier.SortOrderpublic ClusteringKey withOrderBy(String orderBy)
Sets the ascendant (ASC) or descendant (DESC) order modifier.
orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.SortOrderpublic ClusteringKey withOrderBy(SortOrder orderBy)
Sets the ascendant (ASC) or descendant (DESC) order modifier.
orderBy - Sets the ascendant (ASC) or descendant (DESC) order modifier.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ClusteringKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.