public static interface ReplicaDescription.Builder extends SdkPojo, CopyableBuilder<ReplicaDescription.Builder,ReplicaDescription>
Modifier and Type | Method and Description |
---|---|
ReplicaDescription.Builder |
globalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
ReplicaDescription.Builder |
globalSecondaryIndexes(Consumer<ReplicaGlobalSecondaryIndexDescription.Builder>... globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
ReplicaDescription.Builder |
globalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription... globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
ReplicaDescription.Builder |
kmsMasterKeyId(String kmsMasterKeyId)
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
|
default ReplicaDescription.Builder |
provisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride)
Replica-specific provisioned throughput.
|
ReplicaDescription.Builder |
provisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific provisioned throughput.
|
ReplicaDescription.Builder |
regionName(String regionName)
The name of the Region.
|
ReplicaDescription.Builder |
replicaInaccessibleDateTime(Instant replicaInaccessibleDateTime)
The time at which the replica was first detected as inaccessible.
|
ReplicaDescription.Builder |
replicaStatus(ReplicaStatus replicaStatus)
The current state of the replica:
|
ReplicaDescription.Builder |
replicaStatus(String replicaStatus)
The current state of the replica:
|
ReplicaDescription.Builder |
replicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
|
ReplicaDescription.Builder |
replicaStatusPercentProgress(String replicaStatusPercentProgress)
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReplicaDescription.Builder regionName(String regionName)
The name of the Region.
regionName
- The name of the Region.ReplicaDescription.Builder replicaStatus(String replicaStatus)
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
REGION_DISABLED
- The replica is inaccessible because the AWS Region has been disabled.
If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The AWS KMS key used to encrypt the table is
inaccessible.
If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
replicaStatus
- The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
REGION_DISABLED
- The replica is inaccessible because the AWS Region has been disabled.
If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The AWS KMS key used to encrypt the table is
inaccessible.
If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
ReplicaStatus
,
ReplicaStatus
ReplicaDescription.Builder replicaStatus(ReplicaStatus replicaStatus)
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
REGION_DISABLED
- The replica is inaccessible because the AWS Region has been disabled.
If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The AWS KMS key used to encrypt the table is
inaccessible.
If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
replicaStatus
- The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
REGION_DISABLED
- The replica is inaccessible because the AWS Region has been disabled.
If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
INACCESSIBLE_ENCRYPTION_CREDENTIALS
- The AWS KMS key used to encrypt the table is
inaccessible.
If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.
ReplicaStatus
,
ReplicaStatus
ReplicaDescription.Builder replicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
replicaStatusDescription
- Detailed information about the replica status.ReplicaDescription.Builder replicaStatusPercentProgress(String replicaStatusPercentProgress)
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
replicaStatusPercentProgress
- Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.ReplicaDescription.Builder kmsMasterKeyId(String kmsMasterKeyId)
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
kmsMasterKeyId
- The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.ReplicaDescription.Builder provisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
provisionedThroughputOverride
- Replica-specific provisioned throughput. If not described, uses the source table's provisioned
throughput settings.default ReplicaDescription.Builder provisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride)
Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
This is a convenience that creates an instance of theProvisionedThroughputOverride.Builder
avoiding
the need to create one manually via ProvisionedThroughputOverride.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to provisionedThroughputOverride(ProvisionedThroughputOverride)
.provisionedThroughputOverride
- a consumer that will call methods on ProvisionedThroughputOverride.Builder
provisionedThroughputOverride(ProvisionedThroughputOverride)
ReplicaDescription.Builder globalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
globalSecondaryIndexes
- Replica-specific global secondary index settings.ReplicaDescription.Builder globalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription... globalSecondaryIndexes)
Replica-specific global secondary index settings.
globalSecondaryIndexes
- Replica-specific global secondary index settings.ReplicaDescription.Builder globalSecondaryIndexes(Consumer<ReplicaGlobalSecondaryIndexDescription.Builder>... globalSecondaryIndexes)
Replica-specific global secondary index settings.
This is a convenience that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #globalSecondaryIndexes(List)
.globalSecondaryIndexes
- a consumer that will call methods on List.Builder
#globalSecondaryIndexes(List)
ReplicaDescription.Builder replicaInaccessibleDateTime(Instant replicaInaccessibleDateTime)
The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check
the ReplicaStatus
property.
replicaInaccessibleDateTime
- The time at which the replica was first detected as inaccessible. To determine cause of
inaccessibility check the ReplicaStatus
property.Copyright © 2021. All rights reserved.