Interface AwsDynamoDbTableReplica.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsDynamoDbTableReplica.Builder,,AwsDynamoDbTableReplica> SdkBuilder<AwsDynamoDbTableReplica.Builder,,AwsDynamoDbTableReplica> SdkPojo
- Enclosing class:
AwsDynamoDbTableReplica
-
Method Summary
Modifier and TypeMethodDescriptionglobalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes) List of global secondary indexes for the replica.globalSecondaryIndexes(Consumer<AwsDynamoDbTableReplicaGlobalSecondaryIndex.Builder>... globalSecondaryIndexes) List of global secondary indexes for the replica.globalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex... globalSecondaryIndexes) List of global secondary indexes for the replica.kmsMasterKeyId(String kmsMasterKeyId) The identifier of the KMS key that will be used for KMS encryption for the replica.default AwsDynamoDbTableReplica.BuilderprovisionedThroughputOverride(Consumer<AwsDynamoDbTableProvisionedThroughputOverride.Builder> provisionedThroughputOverride) Replica-specific configuration for the provisioned throughput.provisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride) Replica-specific configuration for the provisioned throughput.regionName(String regionName) The name of the Region where the replica is located.replicaStatus(String replicaStatus) The current status of the replica.replicaStatusDescription(String replicaStatusDescription) Detailed information about the replica status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
globalSecondaryIndexes
AwsDynamoDbTableReplica.Builder globalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes) List of global secondary indexes for the replica.
- Parameters:
globalSecondaryIndexes- List of global secondary indexes for the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
AwsDynamoDbTableReplica.Builder globalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex... globalSecondaryIndexes) List of global secondary indexes for the replica.
- Parameters:
globalSecondaryIndexes- List of global secondary indexes for the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
AwsDynamoDbTableReplica.Builder globalSecondaryIndexes(Consumer<AwsDynamoDbTableReplicaGlobalSecondaryIndex.Builder>... globalSecondaryIndexes) List of global secondary indexes for the replica.
This is a convenience method that creates an instance of theAwsDynamoDbTableReplicaGlobalSecondaryIndex.Builderavoiding the need to create one manually viaAwsDynamoDbTableReplicaGlobalSecondaryIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalSecondaryIndexes(List<AwsDynamoDbTableReplicaGlobalSecondaryIndex>).- Parameters:
globalSecondaryIndexes- a consumer that will call methods onAwsDynamoDbTableReplicaGlobalSecondaryIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsMasterKeyId
The identifier of the KMS key that will be used for KMS encryption for the replica.
- Parameters:
kmsMasterKeyId- The identifier of the KMS key that will be used for KMS encryption for the replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughputOverride
AwsDynamoDbTableReplica.Builder provisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride) Replica-specific configuration for the provisioned throughput.
- Parameters:
provisionedThroughputOverride- Replica-specific configuration for the provisioned throughput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughputOverride
default AwsDynamoDbTableReplica.Builder provisionedThroughputOverride(Consumer<AwsDynamoDbTableProvisionedThroughputOverride.Builder> provisionedThroughputOverride) Replica-specific configuration for the provisioned throughput.
This is a convenience method that creates an instance of theAwsDynamoDbTableProvisionedThroughputOverride.Builderavoiding the need to create one manually viaAwsDynamoDbTableProvisionedThroughputOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride).- Parameters:
provisionedThroughputOverride- a consumer that will call methods onAwsDynamoDbTableProvisionedThroughputOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionName
The name of the Region where the replica is located.
- Parameters:
regionName- The name of the Region where the replica is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaStatus
The current status of the replica. Valid values are as follows:
-
ACTIVE -
CREATING -
CREATION_FAILED -
DELETING -
UPDATING
- Parameters:
replicaStatus- The current status of the replica. Valid values are as follows:-
ACTIVE -
CREATING -
CREATION_FAILED -
DELETING -
UPDATING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
replicaStatusDescription
Detailed information about the replica status.
- Parameters:
replicaStatusDescription- Detailed information about the replica status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-