@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about a DynamoDB table.
Constructor and Description |
---|
AwsDynamoDbTableDetails() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableDetails |
clone() |
boolean |
equals(Object obj) |
List<AwsDynamoDbTableAttributeDefinition> |
getAttributeDefinitions()
A list of attribute definitions for the table.
|
AwsDynamoDbTableBillingModeSummary |
getBillingModeSummary()
Information about the billing for read/write capacity on the table.
|
String |
getCreationDateTime()
Indicates when the table was created.
|
List<AwsDynamoDbTableGlobalSecondaryIndex> |
getGlobalSecondaryIndexes()
List of global secondary indexes for the table.
|
String |
getGlobalTableVersion()
The version of global tables being used.
|
Integer |
getItemCount()
The number of items in the table.
|
List<AwsDynamoDbTableKeySchema> |
getKeySchema()
The primary key structure for the table.
|
String |
getLatestStreamArn()
The ARN of the latest stream for the table.
|
String |
getLatestStreamLabel()
The label of the latest stream.
|
List<AwsDynamoDbTableLocalSecondaryIndex> |
getLocalSecondaryIndexes()
The list of local secondary indexes for the table.
|
AwsDynamoDbTableProvisionedThroughput |
getProvisionedThroughput()
Information about the provisioned throughput for the table.
|
List<AwsDynamoDbTableReplica> |
getReplicas()
The list of replicas of this table.
|
AwsDynamoDbTableRestoreSummary |
getRestoreSummary()
Information about the restore for the table.
|
AwsDynamoDbTableSseDescription |
getSseDescription()
Information about the server-side encryption for the table.
|
AwsDynamoDbTableStreamSpecification |
getStreamSpecification()
The current DynamoDB Streams configuration for the table.
|
String |
getTableId()
The identifier of the table.
|
String |
getTableName()
The name of the table.
|
Long |
getTableSizeBytes()
The total size of the table in bytes.
|
String |
getTableStatus()
The current status of the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeDefinitions(Collection<AwsDynamoDbTableAttributeDefinition> attributeDefinitions)
A list of attribute definitions for the table.
|
void |
setBillingModeSummary(AwsDynamoDbTableBillingModeSummary billingModeSummary)
Information about the billing for read/write capacity on the table.
|
void |
setCreationDateTime(String creationDateTime)
Indicates when the table was created.
|
void |
setGlobalSecondaryIndexes(Collection<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the table.
|
void |
setGlobalTableVersion(String globalTableVersion)
The version of global tables being used.
|
void |
setItemCount(Integer itemCount)
The number of items in the table.
|
void |
setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The primary key structure for the table.
|
void |
setLatestStreamArn(String latestStreamArn)
The ARN of the latest stream for the table.
|
void |
setLatestStreamLabel(String latestStreamLabel)
The label of the latest stream.
|
void |
setLocalSecondaryIndexes(Collection<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes)
The list of local secondary indexes for the table.
|
void |
setProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput for the table.
|
void |
setReplicas(Collection<AwsDynamoDbTableReplica> replicas)
The list of replicas of this table.
|
void |
setRestoreSummary(AwsDynamoDbTableRestoreSummary restoreSummary)
Information about the restore for the table.
|
void |
setSseDescription(AwsDynamoDbTableSseDescription sseDescription)
Information about the server-side encryption for the table.
|
void |
setStreamSpecification(AwsDynamoDbTableStreamSpecification streamSpecification)
The current DynamoDB Streams configuration for the table.
|
void |
setTableId(String tableId)
The identifier of the table.
|
void |
setTableName(String tableName)
The name of the table.
|
void |
setTableSizeBytes(Long tableSizeBytes)
The total size of the table in bytes.
|
void |
setTableStatus(String tableStatus)
The current status of the table.
|
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableDetails |
withAttributeDefinitions(AwsDynamoDbTableAttributeDefinition... attributeDefinitions)
A list of attribute definitions for the table.
|
AwsDynamoDbTableDetails |
withAttributeDefinitions(Collection<AwsDynamoDbTableAttributeDefinition> attributeDefinitions)
A list of attribute definitions for the table.
|
AwsDynamoDbTableDetails |
withBillingModeSummary(AwsDynamoDbTableBillingModeSummary billingModeSummary)
Information about the billing for read/write capacity on the table.
|
AwsDynamoDbTableDetails |
withCreationDateTime(String creationDateTime)
Indicates when the table was created.
|
AwsDynamoDbTableDetails |
withGlobalSecondaryIndexes(AwsDynamoDbTableGlobalSecondaryIndex... globalSecondaryIndexes)
List of global secondary indexes for the table.
|
AwsDynamoDbTableDetails |
withGlobalSecondaryIndexes(Collection<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the table.
|
AwsDynamoDbTableDetails |
withGlobalTableVersion(String globalTableVersion)
The version of global tables being used.
|
AwsDynamoDbTableDetails |
withItemCount(Integer itemCount)
The number of items in the table.
|
AwsDynamoDbTableDetails |
withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The primary key structure for the table.
|
AwsDynamoDbTableDetails |
withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The primary key structure for the table.
|
AwsDynamoDbTableDetails |
withLatestStreamArn(String latestStreamArn)
The ARN of the latest stream for the table.
|
AwsDynamoDbTableDetails |
withLatestStreamLabel(String latestStreamLabel)
The label of the latest stream.
|
AwsDynamoDbTableDetails |
withLocalSecondaryIndexes(AwsDynamoDbTableLocalSecondaryIndex... localSecondaryIndexes)
The list of local secondary indexes for the table.
|
AwsDynamoDbTableDetails |
withLocalSecondaryIndexes(Collection<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes)
The list of local secondary indexes for the table.
|
AwsDynamoDbTableDetails |
withProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput for the table.
|
AwsDynamoDbTableDetails |
withReplicas(AwsDynamoDbTableReplica... replicas)
The list of replicas of this table.
|
AwsDynamoDbTableDetails |
withReplicas(Collection<AwsDynamoDbTableReplica> replicas)
The list of replicas of this table.
|
AwsDynamoDbTableDetails |
withRestoreSummary(AwsDynamoDbTableRestoreSummary restoreSummary)
Information about the restore for the table.
|
AwsDynamoDbTableDetails |
withSseDescription(AwsDynamoDbTableSseDescription sseDescription)
Information about the server-side encryption for the table.
|
AwsDynamoDbTableDetails |
withStreamSpecification(AwsDynamoDbTableStreamSpecification streamSpecification)
The current DynamoDB Streams configuration for the table.
|
AwsDynamoDbTableDetails |
withTableId(String tableId)
The identifier of the table.
|
AwsDynamoDbTableDetails |
withTableName(String tableName)
The name of the table.
|
AwsDynamoDbTableDetails |
withTableSizeBytes(Long tableSizeBytes)
The total size of the table in bytes.
|
AwsDynamoDbTableDetails |
withTableStatus(String tableStatus)
The current status of the table.
|
public List<AwsDynamoDbTableAttributeDefinition> getAttributeDefinitions()
A list of attribute definitions for the table.
public void setAttributeDefinitions(Collection<AwsDynamoDbTableAttributeDefinition> attributeDefinitions)
A list of attribute definitions for the table.
attributeDefinitions
- A list of attribute definitions for the table.public AwsDynamoDbTableDetails withAttributeDefinitions(AwsDynamoDbTableAttributeDefinition... attributeDefinitions)
A list of attribute definitions for the table.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeDefinitions(java.util.Collection)
or withAttributeDefinitions(java.util.Collection)
if you want to override the existing values.
attributeDefinitions
- A list of attribute definitions for the table.public AwsDynamoDbTableDetails withAttributeDefinitions(Collection<AwsDynamoDbTableAttributeDefinition> attributeDefinitions)
A list of attribute definitions for the table.
attributeDefinitions
- A list of attribute definitions for the table.public void setBillingModeSummary(AwsDynamoDbTableBillingModeSummary billingModeSummary)
Information about the billing for read/write capacity on the table.
billingModeSummary
- Information about the billing for read/write capacity on the table.public AwsDynamoDbTableBillingModeSummary getBillingModeSummary()
Information about the billing for read/write capacity on the table.
public AwsDynamoDbTableDetails withBillingModeSummary(AwsDynamoDbTableBillingModeSummary billingModeSummary)
Information about the billing for read/write capacity on the table.
billingModeSummary
- Information about the billing for read/write capacity on the table.public void setCreationDateTime(String creationDateTime)
Indicates when the table was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
creationDateTime
- Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getCreationDateTime()
Indicates when the table was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsDynamoDbTableDetails withCreationDateTime(String creationDateTime)
Indicates when the table was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
creationDateTime
- Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public List<AwsDynamoDbTableGlobalSecondaryIndex> getGlobalSecondaryIndexes()
List of global secondary indexes for the table.
public void setGlobalSecondaryIndexes(Collection<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the table.
globalSecondaryIndexes
- List of global secondary indexes for the table.public AwsDynamoDbTableDetails withGlobalSecondaryIndexes(AwsDynamoDbTableGlobalSecondaryIndex... globalSecondaryIndexes)
List of global secondary indexes for the table.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalSecondaryIndexes(java.util.Collection)
or
withGlobalSecondaryIndexes(java.util.Collection)
if you want to override the existing values.
globalSecondaryIndexes
- List of global secondary indexes for the table.public AwsDynamoDbTableDetails withGlobalSecondaryIndexes(Collection<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the table.
globalSecondaryIndexes
- List of global secondary indexes for the table.public void setGlobalTableVersion(String globalTableVersion)
The version of global tables being used.
globalTableVersion
- The version of global tables being used.public String getGlobalTableVersion()
The version of global tables being used.
public AwsDynamoDbTableDetails withGlobalTableVersion(String globalTableVersion)
The version of global tables being used.
globalTableVersion
- The version of global tables being used.public void setItemCount(Integer itemCount)
The number of items in the table.
itemCount
- The number of items in the table.public Integer getItemCount()
The number of items in the table.
public AwsDynamoDbTableDetails withItemCount(Integer itemCount)
The number of items in the table.
itemCount
- The number of items in the table.public List<AwsDynamoDbTableKeySchema> getKeySchema()
The primary key structure for the table.
public void setKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The primary key structure for the table.
keySchema
- The primary key structure for the table.public AwsDynamoDbTableDetails withKeySchema(AwsDynamoDbTableKeySchema... keySchema)
The primary key structure for the table.
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 primary key structure for the table.public AwsDynamoDbTableDetails withKeySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The primary key structure for the table.
keySchema
- The primary key structure for the table.public void setLatestStreamArn(String latestStreamArn)
The ARN of the latest stream for the table.
latestStreamArn
- The ARN of the latest stream for the table.public String getLatestStreamArn()
The ARN of the latest stream for the table.
public AwsDynamoDbTableDetails withLatestStreamArn(String latestStreamArn)
The ARN of the latest stream for the table.
latestStreamArn
- The ARN of the latest stream for the table.public void setLatestStreamLabel(String latestStreamLabel)
The label of the latest stream. The label is not a unique identifier.
latestStreamLabel
- The label of the latest stream. The label is not a unique identifier.public String getLatestStreamLabel()
The label of the latest stream. The label is not a unique identifier.
public AwsDynamoDbTableDetails withLatestStreamLabel(String latestStreamLabel)
The label of the latest stream. The label is not a unique identifier.
latestStreamLabel
- The label of the latest stream. The label is not a unique identifier.public List<AwsDynamoDbTableLocalSecondaryIndex> getLocalSecondaryIndexes()
The list of local secondary indexes for the table.
public void setLocalSecondaryIndexes(Collection<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes)
The list of local secondary indexes for the table.
localSecondaryIndexes
- The list of local secondary indexes for the table.public AwsDynamoDbTableDetails withLocalSecondaryIndexes(AwsDynamoDbTableLocalSecondaryIndex... localSecondaryIndexes)
The list of local secondary indexes for the table.
NOTE: This method appends the values to the existing list (if any). Use
setLocalSecondaryIndexes(java.util.Collection)
or
withLocalSecondaryIndexes(java.util.Collection)
if you want to override the existing values.
localSecondaryIndexes
- The list of local secondary indexes for the table.public AwsDynamoDbTableDetails withLocalSecondaryIndexes(Collection<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes)
The list of local secondary indexes for the table.
localSecondaryIndexes
- The list of local secondary indexes for the table.public void setProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput for the table.
provisionedThroughput
- Information about the provisioned throughput for the table.public AwsDynamoDbTableProvisionedThroughput getProvisionedThroughput()
Information about the provisioned throughput for the table.
public AwsDynamoDbTableDetails withProvisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput for the table.
provisionedThroughput
- Information about the provisioned throughput for the table.public List<AwsDynamoDbTableReplica> getReplicas()
The list of replicas of this table.
public void setReplicas(Collection<AwsDynamoDbTableReplica> replicas)
The list of replicas of this table.
replicas
- The list of replicas of this table.public AwsDynamoDbTableDetails withReplicas(AwsDynamoDbTableReplica... replicas)
The list of replicas of this table.
NOTE: This method appends the values to the existing list (if any). Use
setReplicas(java.util.Collection)
or withReplicas(java.util.Collection)
if you want to override
the existing values.
replicas
- The list of replicas of this table.public AwsDynamoDbTableDetails withReplicas(Collection<AwsDynamoDbTableReplica> replicas)
The list of replicas of this table.
replicas
- The list of replicas of this table.public void setRestoreSummary(AwsDynamoDbTableRestoreSummary restoreSummary)
Information about the restore for the table.
restoreSummary
- Information about the restore for the table.public AwsDynamoDbTableRestoreSummary getRestoreSummary()
Information about the restore for the table.
public AwsDynamoDbTableDetails withRestoreSummary(AwsDynamoDbTableRestoreSummary restoreSummary)
Information about the restore for the table.
restoreSummary
- Information about the restore for the table.public void setSseDescription(AwsDynamoDbTableSseDescription sseDescription)
Information about the server-side encryption for the table.
sseDescription
- Information about the server-side encryption for the table.public AwsDynamoDbTableSseDescription getSseDescription()
Information about the server-side encryption for the table.
public AwsDynamoDbTableDetails withSseDescription(AwsDynamoDbTableSseDescription sseDescription)
Information about the server-side encryption for the table.
sseDescription
- Information about the server-side encryption for the table.public void setStreamSpecification(AwsDynamoDbTableStreamSpecification streamSpecification)
The current DynamoDB Streams configuration for the table.
streamSpecification
- The current DynamoDB Streams configuration for the table.public AwsDynamoDbTableStreamSpecification getStreamSpecification()
The current DynamoDB Streams configuration for the table.
public AwsDynamoDbTableDetails withStreamSpecification(AwsDynamoDbTableStreamSpecification streamSpecification)
The current DynamoDB Streams configuration for the table.
streamSpecification
- The current DynamoDB Streams configuration for the table.public void setTableId(String tableId)
The identifier of the table.
tableId
- The identifier of the table.public String getTableId()
The identifier of the table.
public AwsDynamoDbTableDetails withTableId(String tableId)
The identifier of the table.
tableId
- The identifier of the table.public void setTableName(String tableName)
The name of the table.
tableName
- The name of the table.public String getTableName()
The name of the table.
public AwsDynamoDbTableDetails withTableName(String tableName)
The name of the table.
tableName
- The name of the table.public void setTableSizeBytes(Long tableSizeBytes)
The total size of the table in bytes.
tableSizeBytes
- The total size of the table in bytes.public Long getTableSizeBytes()
The total size of the table in bytes.
public AwsDynamoDbTableDetails withTableSizeBytes(Long tableSizeBytes)
The total size of the table in bytes.
tableSizeBytes
- The total size of the table in bytes.public void setTableStatus(String tableStatus)
The current status of the table.
tableStatus
- The current status of the table.public String getTableStatus()
The current status of the table.
public AwsDynamoDbTableDetails withTableStatus(String tableStatus)
The current status of the table.
tableStatus
- The current status of the table.public String toString()
toString
in class Object
Object.toString()
public AwsDynamoDbTableDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.