@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 KMS key of the replica that will be used for KMS encryption.
|
OnDemandThroughputOverride |
getOnDemandThroughputOverride()
Overrides the maximum on-demand throughput settings for the specified replica table.
|
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.
|
TableClassSummary |
getReplicaTableClassSummary() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexDescription> globalSecondaryIndexes)
Replica-specific global secondary index settings.
|
void |
setKMSMasterKeyId(String kMSMasterKeyId)
The KMS key of the replica that will be used for KMS encryption.
|
void |
setOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput settings for the specified replica table.
|
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.
|
void |
setReplicaTableClassSummary(TableClassSummary replicaTableClassSummary) |
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 KMS key of the replica that will be used for KMS encryption.
|
ReplicaDescription |
withOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput settings for the specified replica table.
|
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.
|
ReplicaDescription |
withReplicaTableClassSummary(TableClassSummary replicaTableClassSummary) |
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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has
been disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is
inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 Amazon Web Services Region has been
disabled.
If the Amazon Web Services 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 KMS key used to encrypt the table is inaccessible.
If the 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 KMS key of the replica that will be used for KMS encryption.
kMSMasterKeyId
- The KMS key of the replica that will be used for KMS encryption.public String getKMSMasterKeyId()
The KMS key of the replica that will be used for KMS encryption.
public ReplicaDescription withKMSMasterKeyId(String kMSMasterKeyId)
The KMS key of the replica that will be used for KMS encryption.
kMSMasterKeyId
- The KMS key of the replica that will be used for 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 void setOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput settings for the specified replica table.
onDemandThroughputOverride
- Overrides the maximum on-demand throughput settings for the specified replica table.public OnDemandThroughputOverride getOnDemandThroughputOverride()
Overrides the maximum on-demand throughput settings for the specified replica table.
public ReplicaDescription withOnDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput settings for the specified replica table.
onDemandThroughputOverride
- Overrides the maximum on-demand throughput settings for the specified replica table.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 void setReplicaTableClassSummary(TableClassSummary replicaTableClassSummary)
replicaTableClassSummary
- public TableClassSummary getReplicaTableClassSummary()
public ReplicaDescription withReplicaTableClassSummary(TableClassSummary replicaTableClassSummary)
replicaTableClassSummary
- public String toString()
toString
in class Object
Object.toString()
public ReplicaDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.