public static interface ReplicaSettingsDescription.Builder extends CopyableBuilder<ReplicaSettingsDescription.Builder,ReplicaSettingsDescription>
Modifier and Type | Method and Description |
---|---|
ReplicaSettingsDescription.Builder |
regionName(String regionName)
The region name of the replica.
|
ReplicaSettingsDescription.Builder |
replicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
ReplicaSettingsDescription.Builder |
replicaGlobalSecondaryIndexSettings(Consumer<ReplicaGlobalSecondaryIndexSettingsDescription.Builder>... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
ReplicaSettingsDescription.Builder |
replicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
ReplicaSettingsDescription.Builder |
replicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
ReplicaSettingsDescription.Builder |
replicaProvisionedWriteCapacityUnits(Long replicaProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
ReplicaSettingsDescription.Builder |
replicaStatus(ReplicaStatus replicaStatus)
The current state of the region:
|
ReplicaSettingsDescription.Builder |
replicaStatus(String replicaStatus)
The current state of the region:
|
copy
applyMutation, build
ReplicaSettingsDescription.Builder regionName(String regionName)
The region name of the replica.
regionName
- The region name of the replica.ReplicaSettingsDescription.Builder replicaStatus(String replicaStatus)
The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
replicaStatus
- The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
ReplicaStatus
,
ReplicaStatus
ReplicaSettingsDescription.Builder replicaStatus(ReplicaStatus replicaStatus)
The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
replicaStatus
- The current state of the region:
CREATING
- The region is being created.
UPDATING
- The region is being updated.
DELETING
- The region is being deleted.
ACTIVE
- The region is ready for use.
ReplicaStatus
,
ReplicaStatus
ReplicaSettingsDescription.Builder replicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
replicaProvisionedReadCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.ReplicaSettingsDescription.Builder replicaProvisionedWriteCapacityUnits(Long replicaProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
replicaProvisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.ReplicaSettingsDescription.Builder replicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
replicaGlobalSecondaryIndexSettings
- Replica global secondary index settings for the global table.ReplicaSettingsDescription.Builder replicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
replicaGlobalSecondaryIndexSettings
- Replica global secondary index settings for the global table.ReplicaSettingsDescription.Builder replicaGlobalSecondaryIndexSettings(Consumer<ReplicaGlobalSecondaryIndexSettingsDescription.Builder>... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
This is a convenience that creates an instance of the.Builder
avoiding the need to create one manually via
List#builder()
.
When the Consumer
completes, .Builder#build()
is called immediately and its result is
passed to #replicaGlobalSecondaryIndexSettings(List)
.replicaGlobalSecondaryIndexSettings
- a consumer that will call methods on .Builder
#replicaGlobalSecondaryIndexSettings(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.