@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()
Autoscaling 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()
AutoScaling 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:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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)
Autoscaling 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)
AutoScaling 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:
|
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)
Autoscaling 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)
AutoScaling 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:
|
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)
Autoscaling settings for a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettings
- Autoscaling settings for a global table replica's read capacity units.public AutoScalingSettingsDescription getReplicaProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global table replica's read capacity units.
public ReplicaSettingsDescription withReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettings
- Autoscaling 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)
AutoScaling settings for a global table replica's write capacity units.
replicaProvisionedWriteCapacityAutoScalingSettings
- AutoScaling settings for a global table replica's write capacity units.public AutoScalingSettingsDescription getReplicaProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global table replica's write capacity units.
public ReplicaSettingsDescription withReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global table replica's write capacity units.
replicaProvisionedWriteCapacityAutoScalingSettings
- AutoScaling 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 String toString()
toString
in class Object
Object.toString()
public ReplicaSettingsDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.