@Generated(value="software.amazon.awssdk:codegen") public final class AwsDynamoDbTableDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsDynamoDbTableDetails.Builder,AwsDynamoDbTableDetails>
Provides details about a DynamoDB table.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsDynamoDbTableDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AwsDynamoDbTableAttributeDefinition> |
attributeDefinitions()
A list of attribute definitions for the table.
|
AwsDynamoDbTableBillingModeSummary |
billingModeSummary()
Information about the billing for read/write capacity on the table.
|
static AwsDynamoDbTableDetails.Builder |
builder() |
String |
creationDateTime()
Indicates when the table was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<AwsDynamoDbTableGlobalSecondaryIndex> |
globalSecondaryIndexes()
List of global secondary indexes for the table.
|
String |
globalTableVersion()
The version of global tables being used.
|
boolean |
hasAttributeDefinitions()
For responses, this returns true if the service returned a value for the AttributeDefinitions property.
|
boolean |
hasGlobalSecondaryIndexes()
For responses, this returns true if the service returned a value for the GlobalSecondaryIndexes property.
|
int |
hashCode() |
boolean |
hasKeySchema()
For responses, this returns true if the service returned a value for the KeySchema property.
|
boolean |
hasLocalSecondaryIndexes()
For responses, this returns true if the service returned a value for the LocalSecondaryIndexes property.
|
boolean |
hasReplicas()
For responses, this returns true if the service returned a value for the Replicas property.
|
Integer |
itemCount()
The number of items in the table.
|
List<AwsDynamoDbTableKeySchema> |
keySchema()
The primary key structure for the table.
|
String |
latestStreamArn()
The ARN of the latest stream for the table.
|
String |
latestStreamLabel()
The label of the latest stream.
|
List<AwsDynamoDbTableLocalSecondaryIndex> |
localSecondaryIndexes()
The list of local secondary indexes for the table.
|
AwsDynamoDbTableProvisionedThroughput |
provisionedThroughput()
Information about the provisioned throughput for the table.
|
List<AwsDynamoDbTableReplica> |
replicas()
The list of replicas of this table.
|
AwsDynamoDbTableRestoreSummary |
restoreSummary()
Information about the restore for the table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsDynamoDbTableDetails.Builder> |
serializableBuilderClass() |
AwsDynamoDbTableSseDescription |
sseDescription()
Information about the server-side encryption for the table.
|
AwsDynamoDbTableStreamSpecification |
streamSpecification()
The current DynamoDB Streams configuration for the table.
|
String |
tableId()
The identifier of the table.
|
String |
tableName()
The name of the table.
|
Long |
tableSizeBytes()
The total size of the table in bytes.
|
String |
tableStatus()
The current status of the table.
|
AwsDynamoDbTableDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAttributeDefinitions()
isEmpty() 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.public final List<AwsDynamoDbTableAttributeDefinition> attributeDefinitions()
A 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.
public final AwsDynamoDbTableBillingModeSummary billingModeSummary()
Information about the billing for read/write capacity on the table.
public final 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, and date and time should be
separated by T. 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, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final boolean hasGlobalSecondaryIndexes()
isEmpty() 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.public final List<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes()
List 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.
public final String globalTableVersion()
The version of global tables being used.
public final Integer itemCount()
The number of items in the table.
public final boolean hasKeySchema()
isEmpty() 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.public final List<AwsDynamoDbTableKeySchema> keySchema()
The 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.
public final String latestStreamArn()
The ARN of the latest stream for the table.
public final String latestStreamLabel()
The label of the latest stream. The label is not a unique identifier.
public final boolean hasLocalSecondaryIndexes()
isEmpty() 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.public final List<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes()
The 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.
public final AwsDynamoDbTableProvisionedThroughput provisionedThroughput()
Information about the provisioned throughput for the table.
public final boolean hasReplicas()
isEmpty() 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.public final List<AwsDynamoDbTableReplica> replicas()
The 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.
public final AwsDynamoDbTableRestoreSummary restoreSummary()
Information about the restore for the table.
public final AwsDynamoDbTableSseDescription sseDescription()
Information about the server-side encryption for the table.
public final AwsDynamoDbTableStreamSpecification streamSpecification()
The current DynamoDB Streams configuration for the table.
public final String tableId()
The identifier of the table.
public final String tableName()
The name of the table.
public final Long tableSizeBytes()
The total size of the table in bytes.
public final String tableStatus()
The current status of the table. Valid values are as follows:
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
INACCESSIBLE_ENCRYPTION_CREDENTIALS
UPDATING
ACTIVE
ARCHIVED
ARCHIVING
CREATING
DELETING
INACCESSIBLE_ENCRYPTION_CREDENTIALS
UPDATING
public AwsDynamoDbTableDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsDynamoDbTableDetails.Builder,AwsDynamoDbTableDetails>public static AwsDynamoDbTableDetails.Builder builder()
public static Class<? extends AwsDynamoDbTableDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.