public class ReplicaSettingsDescription
extends java.lang.Object
implements java.io.Serializable
Represents the properties of a replica.
| Constructor and Description | 
|---|
| ReplicaSettingsDescription() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getRegionName()
 The region name of the replica. | 
| java.util.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. | 
| java.lang.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. | 
| java.lang.Long | getReplicaProvisionedWriteCapacityUnits()
 The maximum number of writes consumed per second before DynamoDB returns
 a  ThrottlingException. | 
| java.lang.String | getReplicaStatus()
 The current state of the region: | 
| int | hashCode() | 
| void | setRegionName(java.lang.String regionName)
 The region name of the replica. | 
| void | setReplicaGlobalSecondaryIndexSettings(java.util.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(java.lang.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(java.lang.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(java.lang.String replicaStatus)
 The current state of the region: | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ReplicaSettingsDescription | withRegionName(java.lang.String regionName)
 The region name of the replica. | 
| ReplicaSettingsDescription | withReplicaGlobalSecondaryIndexSettings(java.util.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(java.lang.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(java.lang.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(java.lang.String replicaStatus)
 The current state of the region: | 
public java.lang.String getRegionName()
The region name of the replica.
The region name of the replica.
public void setRegionName(java.lang.String regionName)
The region name of the replica.
regionName - The region name of the replica.
public ReplicaSettingsDescription withRegionName(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 AutoScalingSettingsDescription getReplicaProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global table replica's read capacity units.
Autoscaling settings for a global table replica's read capacity units.
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 ReplicaSettingsDescription withReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global table replica's read capacity units.
Returns a reference to this object so that method calls can be chained together.
replicaProvisionedReadCapacityAutoScalingSettings - Autoscaling settings for a global table replica's read capacity units.
public java.lang.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(java.lang.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(java.lang.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 AutoScalingSettingsDescription getReplicaProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global table replica's write capacity units.
AutoScaling settings for a global table replica's write capacity units.
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 ReplicaSettingsDescription withReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global table replica's write capacity units.
Returns a reference to this object so that method calls can be chained together.
replicaProvisionedWriteCapacityAutoScalingSettings - AutoScaling settings for a global table replica's write capacity units.
public java.util.List<ReplicaGlobalSecondaryIndexSettingsDescription> getReplicaGlobalSecondaryIndexSettings()
Replica global secondary index settings for the global table.
Replica global secondary index settings for the global table.
public void setReplicaGlobalSecondaryIndexSettings(java.util.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(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.