@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionIndexDescriptor extends Object implements Serializable, Cloneable, StructuredPojo
A descriptor for a partition index in a table.
Constructor and Description |
---|
PartitionIndexDescriptor() |
Modifier and Type | Method and Description |
---|---|
PartitionIndexDescriptor |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the partition index.
|
String |
getIndexStatus()
The status of the partition index.
|
List<KeySchemaElement> |
getKeys()
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIndexName(String indexName)
The name of the partition index.
|
void |
setIndexStatus(String indexStatus)
The status of the partition index.
|
void |
setKeys(Collection<KeySchemaElement> keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
String |
toString()
Returns a string representation of this object.
|
PartitionIndexDescriptor |
withIndexName(String indexName)
The name of the partition index.
|
PartitionIndexDescriptor |
withIndexStatus(PartitionIndexStatus indexStatus)
The status of the partition index.
|
PartitionIndexDescriptor |
withIndexStatus(String indexStatus)
The status of the partition index.
|
PartitionIndexDescriptor |
withKeys(Collection<KeySchemaElement> keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
PartitionIndexDescriptor |
withKeys(KeySchemaElement... keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
public void setIndexName(String indexName)
The name of the partition index.
indexName
- The name of the partition index.public String getIndexName()
The name of the partition index.
public PartitionIndexDescriptor withIndexName(String indexName)
The name of the partition index.
indexName
- The name of the partition index.public List<KeySchemaElement> getKeys()
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
KeySchemaElement
structures, for the partition index.public void setKeys(Collection<KeySchemaElement> keys)
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
keys
- A list of one or more keys, as KeySchemaElement
structures, for the partition index.public PartitionIndexDescriptor withKeys(KeySchemaElement... keys)
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
NOTE: This method appends the values to the existing list (if any). Use
setKeys(java.util.Collection)
or withKeys(java.util.Collection)
if you want to override the
existing values.
keys
- A list of one or more keys, as KeySchemaElement
structures, for the partition index.public PartitionIndexDescriptor withKeys(Collection<KeySchemaElement> keys)
A list of one or more keys, as KeySchemaElement
structures, for the partition index.
keys
- A list of one or more keys, as KeySchemaElement
structures, for the partition index.public void setIndexStatus(String indexStatus)
The status of the partition index.
indexStatus
- The status of the partition index.PartitionIndexStatus
public String getIndexStatus()
The status of the partition index.
PartitionIndexStatus
public PartitionIndexDescriptor withIndexStatus(String indexStatus)
The status of the partition index.
indexStatus
- The status of the partition index.PartitionIndexStatus
public PartitionIndexDescriptor withIndexStatus(PartitionIndexStatus indexStatus)
The status of the partition index.
indexStatus
- The status of the partition index.PartitionIndexStatus
public String toString()
toString
in class Object
Object.toString()
public PartitionIndexDescriptor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.