@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableGlobalSecondaryIndex extends Object implements Serializable, Cloneable, StructuredPojo
Information abut a global secondary index for the table.
Constructor and Description |
---|
AwsDynamoDbTableGlobalSecondaryIndex() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableGlobalSecondaryIndex |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBackfilling()
Whether the index is currently backfilling.
|
String |
getIndexArn()
The ARN of the index.
|
String |
getIndexName()
The name of the index.
|
Long |
getIndexSizeBytes()
The total size in bytes of the index.
|
String |
getIndexStatus()
The current status of the index.
|
Integer |
getItemCount()
The number of items in the index.
|
List<AwsDynamoDbTableKeySchema> |
getKeySchema()
The key schema for the index.
|
AwsDynamoDbTableProjection |
getProjection()
Attributes that are copied from the table into an index.
|
AwsDynamoDbTableProvisionedThroughput |
getProvisionedThroughput()
Information about the provisioned throughput settings for the indexes.
|
int |
hashCode() |
Boolean |
isBackfilling()
Whether the index is currently backfilling.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackfilling(Boolean backfilling)
Whether the index is currently backfilling.
|
void |
setIndexArn(String indexArn)
The ARN of the index.
|
void |
setIndexName(String indexName)
The name of the index.
|
void |
setIndexSizeBytes(Long indexSizeBytes)
The total size in bytes of the index.
|
void |
setIndexStatus(String indexStatus)
The current status of the index.
|
void |
setItemCount(Integer itemCount)
The number of items in the index.
|
void |
setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The key schema for the index.
|
void |
setProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into an index.
|
void |
setProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput settings for the indexes.
|
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withBackfilling(Boolean backfilling)
Whether the index is currently backfilling.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withIndexArn(String indexArn)
The ARN of the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withIndexName(String indexName)
The name of the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withIndexSizeBytes(Long indexSizeBytes)
The total size in bytes of the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withIndexStatus(String indexStatus)
The current status of the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withItemCount(Integer itemCount)
The number of items in the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The key schema for the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The key schema for the index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into an index.
|
AwsDynamoDbTableGlobalSecondaryIndex |
withProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput settings for the indexes.
|
public AwsDynamoDbTableGlobalSecondaryIndex()
public void setBackfilling(Boolean backfilling)
Whether the index is currently backfilling.
backfilling
- Whether the index is currently backfilling.public Boolean getBackfilling()
Whether the index is currently backfilling.
public AwsDynamoDbTableGlobalSecondaryIndex withBackfilling(Boolean backfilling)
Whether the index is currently backfilling.
backfilling
- Whether the index is currently backfilling.public Boolean isBackfilling()
Whether the index is currently backfilling.
public void setIndexArn(String indexArn)
The ARN of the index.
indexArn
- The ARN of the index.public String getIndexArn()
The ARN of the index.
public AwsDynamoDbTableGlobalSecondaryIndex withIndexArn(String indexArn)
The ARN of the index.
indexArn
- The ARN of the index.public void setIndexName(String indexName)
The name of the index.
indexName
- The name of the index.public String getIndexName()
The name of the index.
public AwsDynamoDbTableGlobalSecondaryIndex withIndexName(String indexName)
The name of the index.
indexName
- The name of the index.public void setIndexSizeBytes(Long indexSizeBytes)
The total size in bytes of the index.
indexSizeBytes
- The total size in bytes of the index.public Long getIndexSizeBytes()
The total size in bytes of the index.
public AwsDynamoDbTableGlobalSecondaryIndex withIndexSizeBytes(Long indexSizeBytes)
The total size in bytes of the index.
indexSizeBytes
- The total size in bytes of the index.public void setIndexStatus(String indexStatus)
The current status of the index.
indexStatus
- The current status of the index.public String getIndexStatus()
The current status of the index.
public AwsDynamoDbTableGlobalSecondaryIndex withIndexStatus(String indexStatus)
The current status of the index.
indexStatus
- The current status of the index.public void setItemCount(Integer itemCount)
The number of items in the index.
itemCount
- The number of items in the index.public Integer getItemCount()
The number of items in the index.
public AwsDynamoDbTableGlobalSecondaryIndex withItemCount(Integer itemCount)
The number of items in the index.
itemCount
- The number of items in the index.public List<AwsDynamoDbTableKeySchema> getKeySchema()
The key schema for the index.
public void setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The key schema for the index.
keySchema
- The key schema for the index.public AwsDynamoDbTableGlobalSecondaryIndex withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The key schema for the index.
NOTE: This method appends the values to the existing list (if any). Use
setKeySchema(java.util.Collection)
or withKeySchema(java.util.Collection)
if you want to
override the existing values.
keySchema
- The key schema for the index.public AwsDynamoDbTableGlobalSecondaryIndex withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The key schema for the index.
keySchema
- The key schema for the index.public void setProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into an index.
projection
- Attributes that are copied from the table into an index.public AwsDynamoDbTableProjection getProjection()
Attributes that are copied from the table into an index.
public AwsDynamoDbTableGlobalSecondaryIndex withProjection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into an index.
projection
- Attributes that are copied from the table into an index.public void setProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput settings for the indexes.
provisionedThroughput
- Information about the provisioned throughput settings for the indexes.public AwsDynamoDbTableProvisionedThroughput getProvisionedThroughput()
Information about the provisioned throughput settings for the indexes.
public AwsDynamoDbTableGlobalSecondaryIndex withProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput settings for the indexes.
provisionedThroughput
- Information about the provisioned throughput settings for the indexes.public String toString()
toString
in class Object
Object.toString()
public AwsDynamoDbTableGlobalSecondaryIndex clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.