@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableReplica extends Object implements Serializable, Cloneable, StructuredPojo
Information about a replica of a DynamoDB table.
Constructor and Description |
---|
AwsDynamoDbTableReplica() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableReplica |
clone() |
boolean |
equals(Object obj) |
List<AwsDynamoDbTableReplicaGlobalSecondaryIndex> |
getGlobalSecondaryIndexes()
List of global secondary indexes for the replica.
|
String |
getKmsMasterKeyId()
The identifier of the KMS key that will be used for KMS encryption for the replica.
|
AwsDynamoDbTableProvisionedThroughputOverride |
getProvisionedThroughputOverride()
Replica-specific configuration for the provisioned throughput.
|
String |
getRegionName()
The name of the Region where the replica is located.
|
String |
getReplicaStatus()
The current status of the replica.
|
String |
getReplicaStatusDescription()
Detailed information about the replica status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGlobalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the replica.
|
void |
setKmsMasterKeyId(String kmsMasterKeyId)
The identifier of the KMS key that will be used for KMS encryption for the replica.
|
void |
setProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific configuration for the provisioned throughput.
|
void |
setRegionName(String regionName)
The name of the Region where the replica is located.
|
void |
setReplicaStatus(String replicaStatus)
The current status of the replica.
|
void |
setReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
|
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableReplica |
withGlobalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex... globalSecondaryIndexes)
List of global secondary indexes for the replica.
|
AwsDynamoDbTableReplica |
withGlobalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the replica.
|
AwsDynamoDbTableReplica |
withKmsMasterKeyId(String kmsMasterKeyId)
The identifier of the KMS key that will be used for KMS encryption for the replica.
|
AwsDynamoDbTableReplica |
withProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific configuration for the provisioned throughput.
|
AwsDynamoDbTableReplica |
withRegionName(String regionName)
The name of the Region where the replica is located.
|
AwsDynamoDbTableReplica |
withReplicaStatus(String replicaStatus)
The current status of the replica.
|
AwsDynamoDbTableReplica |
withReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
|
public List<AwsDynamoDbTableReplicaGlobalSecondaryIndex> getGlobalSecondaryIndexes()
List of global secondary indexes for the replica.
public void setGlobalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the replica.
globalSecondaryIndexes
- List of global secondary indexes for the replica.public AwsDynamoDbTableReplica withGlobalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex... globalSecondaryIndexes)
List of global secondary indexes for the replica.
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
- List of global secondary indexes for the replica.public AwsDynamoDbTableReplica withGlobalSecondaryIndexes(Collection<AwsDynamoDbTableReplicaGlobalSecondaryIndex> globalSecondaryIndexes)
List of global secondary indexes for the replica.
globalSecondaryIndexes
- List of global secondary indexes for the replica.public void setKmsMasterKeyId(String kmsMasterKeyId)
The identifier of the KMS key that will be used for KMS encryption for the replica.
kmsMasterKeyId
- The identifier of the KMS key that will be used for KMS encryption for the replica.public String getKmsMasterKeyId()
The identifier of the KMS key that will be used for KMS encryption for the replica.
public AwsDynamoDbTableReplica withKmsMasterKeyId(String kmsMasterKeyId)
The identifier of the KMS key that will be used for KMS encryption for the replica.
kmsMasterKeyId
- The identifier of the KMS key that will be used for KMS encryption for the replica.public void setProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific configuration for the provisioned throughput.
provisionedThroughputOverride
- Replica-specific configuration for the provisioned throughput.public AwsDynamoDbTableProvisionedThroughputOverride getProvisionedThroughputOverride()
Replica-specific configuration for the provisioned throughput.
public AwsDynamoDbTableReplica withProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride provisionedThroughputOverride)
Replica-specific configuration for the provisioned throughput.
provisionedThroughputOverride
- Replica-specific configuration for the provisioned throughput.public void setRegionName(String regionName)
The name of the Region where the replica is located.
regionName
- The name of the Region where the replica is located.public String getRegionName()
The name of the Region where the replica is located.
public AwsDynamoDbTableReplica withRegionName(String regionName)
The name of the Region where the replica is located.
regionName
- The name of the Region where the replica is located.public void setReplicaStatus(String replicaStatus)
The current status of the replica. Valid values are as follows:
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
replicaStatus
- The current status of the replica. Valid values are as follows:
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
public String getReplicaStatus()
The current status of the replica. Valid values are as follows:
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
public AwsDynamoDbTableReplica withReplicaStatus(String replicaStatus)
The current status of the replica. Valid values are as follows:
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
replicaStatus
- The current status of the replica. Valid values are as follows:
ACTIVE
CREATING
CREATION_FAILED
DELETING
UPDATING
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 AwsDynamoDbTableReplica withReplicaStatusDescription(String replicaStatusDescription)
Detailed information about the replica status.
replicaStatusDescription
- Detailed information about the replica status.public String toString()
toString
in class Object
Object.toString()
public AwsDynamoDbTableReplica clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.