@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaSettingsDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a replica.
Constructor and Description |
---|
ReplicaSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
ReplicaSettingsDescription |
clone() |
boolean |
equals(Object obj) |
String |
getRegionName()
The Region name of the replica.
|
BillingModeSummary |
getReplicaBillingModeSummary()
The read/write capacity mode of the replica.
|
List<ReplicaGlobalSecondaryIndexSettingsDescription> |
getReplicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
|
AutoScalingSettingsDescription |
getReplicaProvisionedReadCapacityAutoScalingSettings()
Auto scaling settings for a global table replica's read capacity units.
|
Long |
getReplicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
AutoScalingSettingsDescription |
getReplicaProvisionedWriteCapacityAutoScalingSettings()
Auto scaling settings for a global table replica's write capacity units.
|
Long |
getReplicaProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
String |
getReplicaStatus()
The current state of the Region:
|
TableClassSummary |
getReplicaTableClassSummary() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegionName(String regionName)
The Region name of the replica.
|
void |
setReplicaBillingModeSummary(BillingModeSummary replicaBillingModeSummary)
The read/write capacity mode of the replica.
|
void |
setReplicaGlobalSecondaryIndexSettings(Collection<ReplicaGlobalSecondaryIndexSettingsDescription> replicaGlobalSecondaryIndexSettings)
Replica global secondary index settings for the global table.
|
void |
setReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's read capacity units.
|
void |
setReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
void |
setReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's write capacity units.
|
void |
setReplicaProvisionedWriteCapacityUnits(Long replicaProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
void |
setReplicaStatus(String replicaStatus)
The current state of the Region:
|
void |
setReplicaTableClassSummary(TableClassSummary replicaTableClassSummary) |
String |
toString()
Returns a string representation of this object.
|
ReplicaSettingsDescription |
withRegionName(String regionName)
The Region name of the replica.
|
ReplicaSettingsDescription |
withReplicaBillingModeSummary(BillingModeSummary replicaBillingModeSummary)
The read/write capacity mode 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 |
withReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's read capacity units.
|
ReplicaSettingsDescription |
withReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
ReplicaSettingsDescription |
withReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's write capacity units.
|
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:
|
ReplicaSettingsDescription |
withReplicaTableClassSummary(TableClassSummary replicaTableClassSummary) |
public void setRegionName(String regionName)
The Region name of the replica.
regionName
- The Region name of the replica.public String getRegionName()
The Region name of the replica.
public ReplicaSettingsDescription withRegionName(String regionName)
The Region name of the replica.
regionName
- The Region name of the replica.public 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.
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.
ReplicaStatus
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.
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.
ReplicaStatus
public 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.
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.
ReplicaStatus
public 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.
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.
ReplicaStatus
public void setReplicaBillingModeSummary(BillingModeSummary replicaBillingModeSummary)
The read/write capacity mode of the replica.
replicaBillingModeSummary
- The read/write capacity mode of the replica.public BillingModeSummary getReplicaBillingModeSummary()
The read/write capacity mode of the replica.
public ReplicaSettingsDescription withReplicaBillingModeSummary(BillingModeSummary replicaBillingModeSummary)
The read/write capacity mode of the replica.
replicaBillingModeSummary
- The read/write capacity mode of the replica.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.
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 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.
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.
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 void setReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettings
- Auto scaling settings for a global table replica's read capacity units.public AutoScalingSettingsDescription getReplicaProvisionedReadCapacityAutoScalingSettings()
Auto scaling settings for a global table replica's read capacity units.
public ReplicaSettingsDescription withReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettings
- Auto scaling settings for a global table replica's read capacity units.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.
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 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.
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.
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 void setReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's write capacity units.
replicaProvisionedWriteCapacityAutoScalingSettings
- Auto scaling settings for a global table replica's write capacity units.public AutoScalingSettingsDescription getReplicaProvisionedWriteCapacityAutoScalingSettings()
Auto scaling settings for a global table replica's write capacity units.
public ReplicaSettingsDescription withReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
Auto scaling settings for a global table replica's write capacity units.
replicaProvisionedWriteCapacityAutoScalingSettings
- Auto scaling settings for a global table replica's write capacity units.public List<ReplicaGlobalSecondaryIndexSettingsDescription> getReplicaGlobalSecondaryIndexSettings()
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.
NOTE: This method appends the values to the existing list (if any). Use
setReplicaGlobalSecondaryIndexSettings(java.util.Collection)
or
withReplicaGlobalSecondaryIndexSettings(java.util.Collection)
if you want to override the existing
values.
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.
replicaGlobalSecondaryIndexSettings
- Replica global secondary index settings for the global table.public void setReplicaTableClassSummary(TableClassSummary replicaTableClassSummary)
replicaTableClassSummary
- public TableClassSummary getReplicaTableClassSummary()
public ReplicaSettingsDescription withReplicaTableClassSummary(TableClassSummary replicaTableClassSummary)
replicaTableClassSummary
- public String toString()
toString
in class Object
Object.toString()
public ReplicaSettingsDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.