@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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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(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 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 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 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 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 © 2018. All rights reserved.