Class AwsDynamoDbTableDetails
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<AwsDynamoDbTableDetails.Builder,- AwsDynamoDbTableDetails> 
Provides details about a DynamoDB table.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionA list of attribute definitions for the table.Information about the billing for read/write capacity on the table.builder()final StringIndicates when the table was created.final BooleanIndicates whether deletion protection is to be enabled (true) or disabled (false) on the table.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) List of global secondary indexes for the table.final StringThe version of global tables being used.final booleanFor responses, this returns true if the service returned a value for the AttributeDefinitions property.final booleanFor responses, this returns true if the service returned a value for the GlobalSecondaryIndexes property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the KeySchema property.final booleanFor responses, this returns true if the service returned a value for the LocalSecondaryIndexes property.final booleanFor responses, this returns true if the service returned a value for the Replicas property.final IntegerThe number of items in the table.final List<AwsDynamoDbTableKeySchema> The primary key structure for the table.final StringThe ARN of the latest stream for the table.final StringThe label of the latest stream.The list of local secondary indexes for the table.Information about the provisioned throughput for the table.final List<AwsDynamoDbTableReplica> replicas()The list of replicas of this table.Information about the restore for the table.static Class<? extends AwsDynamoDbTableDetails.Builder> Information about the server-side encryption for the table.The current DynamoDB Streams configuration for the table.final StringtableId()The identifier of the table.final StringThe name of the table.final LongThe total size of the table in bytes.final StringThe current status of the table.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
hasAttributeDefinitionspublic final boolean hasAttributeDefinitions()For responses, this returns true if the service returned a value for the AttributeDefinitions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
attributeDefinitionsA list of attribute definitions for the table. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAttributeDefinitions()method.- Returns:
- A list of attribute definitions for the table.
 
- 
billingModeSummaryInformation about the billing for read/write capacity on the table. - Returns:
- Information about the billing for read/write capacity on the table.
 
- 
creationDateTimeIndicates when the table was created. This field accepts only the specified formats. Timestamps can end with Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:- 
 YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z)
- 
 YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z)
- 
 YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59)
- 
 YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759)
- 
 YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
 - Returns:
- Indicates when the table was created.
         This field accepts only the specified formats. Timestamps can end with Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:- 
         YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z)
- 
         YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z)
- 
         YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59)
- 
         YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759)
- 
         YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
 
- 
         
 
- 
 
- 
hasGlobalSecondaryIndexespublic final boolean hasGlobalSecondaryIndexes()For responses, this returns true if the service returned a value for the GlobalSecondaryIndexes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
globalSecondaryIndexesList of global secondary indexes for the table. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasGlobalSecondaryIndexes()method.- Returns:
- List of global secondary indexes for the table.
 
- 
globalTableVersionThe version of global tables being used. - Returns:
- The version of global tables being used.
 
- 
itemCountThe number of items in the table. - Returns:
- The number of items in the table.
 
- 
hasKeySchemapublic final boolean hasKeySchema()For responses, this returns true if the service returned a value for the KeySchema property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
keySchemaThe primary key structure for the table. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasKeySchema()method.- Returns:
- The primary key structure for the table.
 
- 
latestStreamArnThe ARN of the latest stream for the table. - Returns:
- The ARN of the latest stream for the table.
 
- 
latestStreamLabelThe label of the latest stream. The label is not a unique identifier. - Returns:
- The label of the latest stream. The label is not a unique identifier.
 
- 
hasLocalSecondaryIndexespublic final boolean hasLocalSecondaryIndexes()For responses, this returns true if the service returned a value for the LocalSecondaryIndexes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
localSecondaryIndexesThe list of local secondary indexes for the table. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasLocalSecondaryIndexes()method.- Returns:
- The list of local secondary indexes for the table.
 
- 
provisionedThroughputInformation about the provisioned throughput for the table. - Returns:
- Information about the provisioned throughput for the table.
 
- 
hasReplicaspublic final boolean hasReplicas()For responses, this returns true if the service returned a value for the Replicas property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
replicasThe list of replicas of this table. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasReplicas()method.- Returns:
- The list of replicas of this table.
 
- 
restoreSummaryInformation about the restore for the table. - Returns:
- Information about the restore for the table.
 
- 
sseDescriptionInformation about the server-side encryption for the table. - Returns:
- Information about the server-side encryption for the table.
 
- 
streamSpecificationThe current DynamoDB Streams configuration for the table. - Returns:
- The current DynamoDB Streams configuration for the table.
 
- 
tableId
- 
tableName
- 
tableSizeBytesThe total size of the table in bytes. - Returns:
- The total size of the table in bytes.
 
- 
tableStatusThe current status of the table. Valid values are as follows: - 
 ACTIVE
- 
 ARCHIVED
- 
 ARCHIVING
- 
 CREATING
- 
 DELETING
- 
 INACCESSIBLE_ENCRYPTION_CREDENTIALS
- 
 UPDATING
 - Returns:
- The current status of the table. Valid values are as follows:
         - 
         ACTIVE
- 
         ARCHIVED
- 
         ARCHIVING
- 
         CREATING
- 
         DELETING
- 
         INACCESSIBLE_ENCRYPTION_CREDENTIALS
- 
         UPDATING
 
- 
         
 
- 
 
- 
deletionProtectionEnabledIndicates whether deletion protection is to be enabled (true) or disabled (false) on the table. - Returns:
- Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<AwsDynamoDbTableDetails.Builder,- AwsDynamoDbTableDetails> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
 
-