Interface AwsDynamoDbTableDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsDynamoDbTableDetails.Builder,AwsDynamoDbTableDetails>,SdkBuilder<AwsDynamoDbTableDetails.Builder,AwsDynamoDbTableDetails>,SdkPojo
- Enclosing class:
- AwsDynamoDbTableDetails
public static interface AwsDynamoDbTableDetails.Builder extends SdkPojo, CopyableBuilder<AwsDynamoDbTableDetails.Builder,AwsDynamoDbTableDetails>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributeDefinitions
AwsDynamoDbTableDetails.Builder attributeDefinitions(Collection<AwsDynamoDbTableAttributeDefinition> attributeDefinitions)
A list of attribute definitions for the table.
- Parameters:
attributeDefinitions- A list of attribute definitions for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinitions
AwsDynamoDbTableDetails.Builder attributeDefinitions(AwsDynamoDbTableAttributeDefinition... attributeDefinitions)
A list of attribute definitions for the table.
- Parameters:
attributeDefinitions- A list of attribute definitions for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeDefinitions
AwsDynamoDbTableDetails.Builder attributeDefinitions(Consumer<AwsDynamoDbTableAttributeDefinition.Builder>... attributeDefinitions)
A list of attribute definitions for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableAttributeDefinition.Builderavoiding the need to create one manually viaAwsDynamoDbTableAttributeDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributeDefinitions(List.) - Parameters:
attributeDefinitions- a consumer that will call methods onAwsDynamoDbTableAttributeDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributeDefinitions(java.util.Collection)
-
billingModeSummary
AwsDynamoDbTableDetails.Builder billingModeSummary(AwsDynamoDbTableBillingModeSummary billingModeSummary)
Information about the billing for read/write capacity on the table.
- Parameters:
billingModeSummary- Information about the billing for read/write capacity on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingModeSummary
default AwsDynamoDbTableDetails.Builder billingModeSummary(Consumer<AwsDynamoDbTableBillingModeSummary.Builder> billingModeSummary)
Information about the billing for read/write capacity on the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableBillingModeSummary.Builderavoiding the need to create one manually viaAwsDynamoDbTableBillingModeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobillingModeSummary(AwsDynamoDbTableBillingModeSummary).- Parameters:
billingModeSummary- a consumer that will call methods onAwsDynamoDbTableBillingModeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
billingModeSummary(AwsDynamoDbTableBillingModeSummary)
-
creationDateTime
AwsDynamoDbTableDetails.Builder creationDateTime(String creationDateTime)
Indicates when the table was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
creationDateTime- Indicates when the table was created.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
AwsDynamoDbTableDetails.Builder globalSecondaryIndexes(Collection<AwsDynamoDbTableGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the table.
- Parameters:
globalSecondaryIndexes- List of global secondary indexes for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
AwsDynamoDbTableDetails.Builder globalSecondaryIndexes(AwsDynamoDbTableGlobalSecondaryIndex... globalSecondaryIndexes)
List of global secondary indexes for the table.
- Parameters:
globalSecondaryIndexes- List of global secondary indexes for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
AwsDynamoDbTableDetails.Builder globalSecondaryIndexes(Consumer<AwsDynamoDbTableGlobalSecondaryIndex.Builder>... globalSecondaryIndexes)
List of global secondary indexes for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableGlobalSecondaryIndex.Builderavoiding the need to create one manually viaAwsDynamoDbTableGlobalSecondaryIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#globalSecondaryIndexes(List.) - Parameters:
globalSecondaryIndexes- a consumer that will call methods onAwsDynamoDbTableGlobalSecondaryIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#globalSecondaryIndexes(java.util.Collection)
-
globalTableVersion
AwsDynamoDbTableDetails.Builder globalTableVersion(String globalTableVersion)
The version of global tables being used.
- Parameters:
globalTableVersion- The version of global tables being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCount
AwsDynamoDbTableDetails.Builder itemCount(Integer itemCount)
The number of items in the table.
- Parameters:
itemCount- The number of items in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableDetails.Builder keySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The primary key structure for the table.
- Parameters:
keySchema- The primary key structure for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableDetails.Builder keySchema(AwsDynamoDbTableKeySchema... keySchema)
The primary key structure for the table.
- Parameters:
keySchema- The primary key structure for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableDetails.Builder keySchema(Consumer<AwsDynamoDbTableKeySchema.Builder>... keySchema)
The primary key structure for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableKeySchema.Builderavoiding the need to create one manually viaAwsDynamoDbTableKeySchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#keySchema(List.) - Parameters:
keySchema- a consumer that will call methods onAwsDynamoDbTableKeySchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#keySchema(java.util.Collection)
-
latestStreamArn
AwsDynamoDbTableDetails.Builder latestStreamArn(String latestStreamArn)
The ARN of the latest stream for the table.
- Parameters:
latestStreamArn- The ARN of the latest stream for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestStreamLabel
AwsDynamoDbTableDetails.Builder latestStreamLabel(String latestStreamLabel)
The label of the latest stream. The label is not a unique identifier.
- Parameters:
latestStreamLabel- The label of the latest stream. The label is not a unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localSecondaryIndexes
AwsDynamoDbTableDetails.Builder localSecondaryIndexes(Collection<AwsDynamoDbTableLocalSecondaryIndex> localSecondaryIndexes)
The list of local secondary indexes for the table.
- Parameters:
localSecondaryIndexes- The list of local secondary indexes for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localSecondaryIndexes
AwsDynamoDbTableDetails.Builder localSecondaryIndexes(AwsDynamoDbTableLocalSecondaryIndex... localSecondaryIndexes)
The list of local secondary indexes for the table.
- Parameters:
localSecondaryIndexes- The list of local secondary indexes for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localSecondaryIndexes
AwsDynamoDbTableDetails.Builder localSecondaryIndexes(Consumer<AwsDynamoDbTableLocalSecondaryIndex.Builder>... localSecondaryIndexes)
The list of local secondary indexes for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableLocalSecondaryIndex.Builderavoiding the need to create one manually viaAwsDynamoDbTableLocalSecondaryIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#localSecondaryIndexes(List.) - Parameters:
localSecondaryIndexes- a consumer that will call methods onAwsDynamoDbTableLocalSecondaryIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#localSecondaryIndexes(java.util.Collection)
-
provisionedThroughput
AwsDynamoDbTableDetails.Builder provisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput)
Information about the provisioned throughput for the table.
- Parameters:
provisionedThroughput- Information about the provisioned throughput for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default AwsDynamoDbTableDetails.Builder provisionedThroughput(Consumer<AwsDynamoDbTableProvisionedThroughput.Builder> provisionedThroughput)
Information about the provisioned throughput for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableProvisionedThroughput.Builderavoiding the need to create one manually viaAwsDynamoDbTableProvisionedThroughput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisionedThroughput(AwsDynamoDbTableProvisionedThroughput).- Parameters:
provisionedThroughput- a consumer that will call methods onAwsDynamoDbTableProvisionedThroughput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedThroughput(AwsDynamoDbTableProvisionedThroughput)
-
replicas
AwsDynamoDbTableDetails.Builder replicas(Collection<AwsDynamoDbTableReplica> replicas)
The list of replicas of this table.
- Parameters:
replicas- The list of replicas of this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
AwsDynamoDbTableDetails.Builder replicas(AwsDynamoDbTableReplica... replicas)
The list of replicas of this table.
- Parameters:
replicas- The list of replicas of this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
AwsDynamoDbTableDetails.Builder replicas(Consumer<AwsDynamoDbTableReplica.Builder>... replicas)
The list of replicas of this table.
This is a convenience method that creates an instance of theAwsDynamoDbTableReplica.Builderavoiding the need to create one manually viaAwsDynamoDbTableReplica.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#replicas(List.) - Parameters:
replicas- a consumer that will call methods onAwsDynamoDbTableReplica.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#replicas(java.util.Collection)
-
restoreSummary
AwsDynamoDbTableDetails.Builder restoreSummary(AwsDynamoDbTableRestoreSummary restoreSummary)
Information about the restore for the table.
- Parameters:
restoreSummary- Information about the restore for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreSummary
default AwsDynamoDbTableDetails.Builder restoreSummary(Consumer<AwsDynamoDbTableRestoreSummary.Builder> restoreSummary)
Information about the restore for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableRestoreSummary.Builderavoiding the need to create one manually viaAwsDynamoDbTableRestoreSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestoreSummary(AwsDynamoDbTableRestoreSummary).- Parameters:
restoreSummary- a consumer that will call methods onAwsDynamoDbTableRestoreSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
restoreSummary(AwsDynamoDbTableRestoreSummary)
-
sseDescription
AwsDynamoDbTableDetails.Builder sseDescription(AwsDynamoDbTableSseDescription sseDescription)
Information about the server-side encryption for the table.
- Parameters:
sseDescription- Information about the server-side encryption for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sseDescription
default AwsDynamoDbTableDetails.Builder sseDescription(Consumer<AwsDynamoDbTableSseDescription.Builder> sseDescription)
Information about the server-side encryption for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableSseDescription.Builderavoiding the need to create one manually viaAwsDynamoDbTableSseDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosseDescription(AwsDynamoDbTableSseDescription).- Parameters:
sseDescription- a consumer that will call methods onAwsDynamoDbTableSseDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sseDescription(AwsDynamoDbTableSseDescription)
-
streamSpecification
AwsDynamoDbTableDetails.Builder streamSpecification(AwsDynamoDbTableStreamSpecification streamSpecification)
The current DynamoDB Streams configuration for the table.
- Parameters:
streamSpecification- The current DynamoDB Streams configuration for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSpecification
default AwsDynamoDbTableDetails.Builder streamSpecification(Consumer<AwsDynamoDbTableStreamSpecification.Builder> streamSpecification)
The current DynamoDB Streams configuration for the table.
This is a convenience method that creates an instance of theAwsDynamoDbTableStreamSpecification.Builderavoiding the need to create one manually viaAwsDynamoDbTableStreamSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamSpecification(AwsDynamoDbTableStreamSpecification).- Parameters:
streamSpecification- a consumer that will call methods onAwsDynamoDbTableStreamSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamSpecification(AwsDynamoDbTableStreamSpecification)
-
tableId
AwsDynamoDbTableDetails.Builder tableId(String tableId)
The identifier of the table.
- Parameters:
tableId- The identifier of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
AwsDynamoDbTableDetails.Builder tableName(String tableName)
The name of the table.
- Parameters:
tableName- The name of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableSizeBytes
AwsDynamoDbTableDetails.Builder tableSizeBytes(Long tableSizeBytes)
The total size of the table in bytes.
- Parameters:
tableSizeBytes- The total size of the table in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableStatus
AwsDynamoDbTableDetails.Builder tableStatus(String tableStatus)
The current status of the table. Valid values are as follows:
-
ACTIVE -
ARCHIVED -
ARCHIVING -
CREATING -
DELETING -
INACCESSIBLE_ENCRYPTION_CREDENTIALS -
UPDATING
- Parameters:
tableStatus- The current status of the table. Valid values are as follows:-
ACTIVE -
ARCHIVED -
ARCHIVING -
CREATING -
DELETING -
INACCESSIBLE_ENCRYPTION_CREDENTIALS -
UPDATING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deletionProtectionEnabled
AwsDynamoDbTableDetails.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)
Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
- Parameters:
deletionProtectionEnabled- Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-