public class ReplicaSettingsDescription extends Object implements Serializable
Represents the properties of a replica.
| Constructor and Description |
|---|
ReplicaSettingsDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getRegionName()
The region name of the replica.
|
List<ReplicaGlobalSecondaryIndexSettingsDescription> |
getReplicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
|
Long |
getReplicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
Long |
getReplicaProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
String |
getReplicaStatus()
The current state of the region:
|
int |
hashCode() |
void |
setRegionName(String regionName)
The region name of the replica.
|
void |
setReplicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
void |
setReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
void |
setReplicaProvisionedWriteCapacityUnits(Long replicaProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
void |
setReplicaStatus(ReplicaStatus replicaStatus)
The current state of the region:
|
void |
setReplicaStatus(String replicaStatus)
The current state of the region:
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicaSettingsDescription |
withRegionName(String regionName)
The region name of the replica.
|
ReplicaSettingsDescription |
withReplicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
ReplicaSettingsDescription |
withReplicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
ReplicaSettingsDescription |
withReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
ReplicaSettingsDescription |
withReplicaProvisionedWriteCapacityUnits(Long replicaProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
ReplicaSettingsDescription |
withReplicaStatus(ReplicaStatus replicaStatus)
The current state of the region:
|
ReplicaSettingsDescription |
withReplicaStatus(String replicaStatus)
The current state of the region:
|
public String getRegionName()
The region name of the replica.
The region name of the replica.
public void setRegionName(String regionName)
The region name of the replica.
regionName - The region name of the replica.
public ReplicaSettingsDescription withRegionName(String regionName)
The region name of the replica.
Returns a reference to this object so that method calls can be chained together.
regionName - The region name of the replica.
public String getReplicaStatus()
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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
ReplicaStatuspublic void setReplicaStatus(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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
ReplicaStatuspublic ReplicaSettingsDescription withReplicaStatus(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
ReplicaStatuspublic void setReplicaStatus(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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
ReplicaStatuspublic ReplicaSettingsDescription withReplicaStatus(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
ReplicaStatuspublic Long getReplicaProvisionedReadCapacityUnits()
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.
Constraints:
Range: 1 -
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.
public void setReplicaProvisionedReadCapacityUnits(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.
Constraints:
Range: 1 -
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.
public ReplicaSettingsDescription withReplicaProvisionedReadCapacityUnits(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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.
public Long getReplicaProvisionedWriteCapacityUnits()
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.
Constraints:
Range: 1 -
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.
public void setReplicaProvisionedWriteCapacityUnits(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.
Constraints:
Range: 1 -
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.
public ReplicaSettingsDescription withReplicaProvisionedWriteCapacityUnits(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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.
public List<ReplicaGlobalSecondaryIndexSettingsDescription> getReplicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
Replica global secondary index settings for the global table.
public void setReplicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
replicaGlobalSecondaryIndexSettings - Replica global secondary index settings for the global table.
public ReplicaSettingsDescription withReplicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription... replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
Returns a reference to this object so that method calls can be chained together.
replicaGlobalSecondaryIndexSettings - Replica global secondary index settings for the global table.
public ReplicaSettingsDescription withReplicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
Returns a reference to this object so that method calls can be chained together.
replicaGlobalSecondaryIndexSettings - Replica global secondary index settings for the global table.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.