@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) |
List<BackfillError> |
getBackfillErrors()
A list of errors that can occur when registering partition indexes for an existing table.
|
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) |
void |
setBackfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
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 |
withBackfillErrors(BackfillError... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
PartitionIndexDescriptor |
withBackfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
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.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
indexStatus
- The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus
public String getIndexStatus()
The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus
public PartitionIndexDescriptor withIndexStatus(String indexStatus)
The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
indexStatus
- The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus
public PartitionIndexDescriptor withIndexStatus(PartitionIndexStatus indexStatus)
The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
indexStatus
- The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus
public List<BackfillError> getBackfillErrors()
A list of errors that can occur when registering partition indexes for an existing table.
public void setBackfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
backfillErrors
- A list of errors that can occur when registering partition indexes for an existing table.public PartitionIndexDescriptor withBackfillErrors(BackfillError... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
NOTE: This method appends the values to the existing list (if any). Use
setBackfillErrors(java.util.Collection)
or withBackfillErrors(java.util.Collection)
if you want
to override the existing values.
backfillErrors
- A list of errors that can occur when registering partition indexes for an existing table.public PartitionIndexDescriptor withBackfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
backfillErrors
- A list of errors that can occur when registering partition indexes for an existing table.public String toString()
toString
in class Object
Object.toString()
public PartitionIndexDescriptor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.