@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaDescription extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details of the replica.
Constructor and Description |
---|
ReplicaDescription() |
Modifier and Type | Method and Description |
---|---|
ReplicaDescription |
clone() |
boolean |
equals(Object obj) |
List<ReplicaGlobalSecondaryIndexDescription> |
getGlobalSecondaryIndexes()
Replica-specific global secondary index settings.
|
String |
getKMSMasterKeyId()
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
|
ProvisionedThroughputOverride |
getProvisionedThroughputOverride()
Replica-specific provisioned throughput.
|
String |
getRegionName()
The name of the Region.
|
Date |
getReplicaInaccessibleDateTime()
The time at which the replica was first detected as inaccessible.
|
String |
getReplicaStatus()
The current state of the replica:
|
String |
getReplicaStatusDescription()
Detailed information about the replica status.
|
String |
getReplicaStatusPercentProgress()
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
void |
setKMSMasterKeyId(String kMSMasterKeyId)
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
|
void |
setProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific provisioned throughput.
|
void |
setRegionName(String regionName)
The name of the Region.
|
void |
setReplicaInaccessibleDateTime(Date replicaInaccessibleDateTime)
The time at which the replica was first detected as inaccessible.
|
void |
setReplicaStatus(String replicaStatus)
The current state of the replica:
|
void |
setReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
|
void |
setReplicaStatusPercentProgress(String replicaStatusPercentProgress)
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
|
String |
toString()
Returns a string representation of this object.
|
ReplicaDescription |
withGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
ReplicaDescription |
withGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription... globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
ReplicaDescription |
withKMSMasterKeyId(String kMSMasterKeyId)
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
|
ReplicaDescription |
withProvisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific provisioned throughput.
|
ReplicaDescription |
withRegionName(String regionName)
The name of the Region.
|
ReplicaDescription |
withReplicaInaccessibleDateTime(Date replicaInaccessibleDateTime)
The time at which the replica was first detected as inaccessible.
|
ReplicaDescription |
withReplicaStatus(ReplicaStatus replicaStatus)
The current state of the replica:
|
ReplicaDescription |
withReplicaStatus(String replicaStatus)
The current state of the replica:
|
ReplicaDescription |
withReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
|
ReplicaDescription |
withReplicaStatusPercentProgress(String replicaStatusPercentProgress)
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
|
public void setRegionName(String regionName)
The name of the Region.
regionName
- The name of the Region.public String getRegionName()
The name of the Region.
public ReplicaDescription withRegionName(String regionName)
The name of the Region.
regionName
- The name of the Region.public void setReplicaStatus(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
public String getReplicaStatus()
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.
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
public ReplicaDescription withReplicaStatus(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
public ReplicaDescription withReplicaStatus(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
public void setReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
replicaStatusDescription
- Detailed information about the replica status.public String getReplicaStatusDescription()
Detailed information about the replica status.
public ReplicaDescription withReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
replicaStatusDescription
- Detailed information about the replica status.public void setReplicaStatusPercentProgress(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.public String getReplicaStatusPercentProgress()
Specifies the progress of a Create, Update, or Delete action on the replica as a percentage.
public ReplicaDescription withReplicaStatusPercentProgress(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.public void setKMSMasterKeyId(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.public String getKMSMasterKeyId()
The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS encryption.
public ReplicaDescription withKMSMasterKeyId(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.public void setProvisionedThroughputOverride(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.public ProvisionedThroughputOverride getProvisionedThroughputOverride()
Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
public ReplicaDescription withProvisionedThroughputOverride(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.public List<ReplicaGlobalSecondaryIndexDescription> getGlobalSecondaryIndexes()
Replica-specific global secondary index settings.
public void setGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
globalSecondaryIndexes
- Replica-specific global secondary index settings.public ReplicaDescription withGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription... globalSecondaryIndexes)
Replica-specific global secondary index settings.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalSecondaryIndexes(java.util.Collection)
or
withGlobalSecondaryIndexes(java.util.Collection)
if you want to override the existing values.
globalSecondaryIndexes
- Replica-specific global secondary index settings.public ReplicaDescription withGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
globalSecondaryIndexes
- Replica-specific global secondary index settings.public void setReplicaInaccessibleDateTime(Date 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.public Date getReplicaInaccessibleDateTime()
The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the
ReplicaStatus
property.
ReplicaStatus
property.public ReplicaDescription withReplicaInaccessibleDateTime(Date 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.public String toString()
toString
in class Object
Object.toString()
public ReplicaDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.