@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartitionIndex extends Object implements Serializable, Cloneable, StructuredPojo
A structure for a partition index.
Constructor and Description |
---|
PartitionIndex() |
Modifier and Type | Method and Description |
---|---|
PartitionIndex |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the partition index.
|
List<String> |
getKeys()
The keys 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 |
setKeys(Collection<String> keys)
The keys for the partition index.
|
String |
toString()
Returns a string representation of this object.
|
PartitionIndex |
withIndexName(String indexName)
The name of the partition index.
|
PartitionIndex |
withKeys(Collection<String> keys)
The keys for the partition index.
|
PartitionIndex |
withKeys(String... keys)
The keys for the partition index.
|
public List<String> getKeys()
The keys for the partition index.
public void setKeys(Collection<String> keys)
The keys for the partition index.
keys
- The keys for the partition index.public PartitionIndex withKeys(String... keys)
The keys 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
- The keys for the partition index.public PartitionIndex withKeys(Collection<String> keys)
The keys for the partition index.
keys
- The keys 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 PartitionIndex withIndexName(String indexName)
The name of the partition index.
indexName
- The name of the partition index.public String toString()
toString
in class Object
Object.toString()
public PartitionIndex clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.