@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaSettingsUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Represents the settings for a global table in a region that will be modified.
Constructor and Description |
---|
ReplicaSettingsUpdate() |
Modifier and Type | Method and Description |
---|---|
ReplicaSettingsUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getRegionName()
The region of the replica to be added.
|
List<ReplicaGlobalSecondaryIndexSettingsUpdate> |
getReplicaGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
|
AutoScalingSettingsUpdate |
getReplicaProvisionedReadCapacityAutoScalingSettingsUpdate()
Autoscaling settings for managing 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 . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRegionName(String regionName)
The region of the replica to be added.
|
void |
setReplicaGlobalSecondaryIndexSettingsUpdate(Collection<ReplicaGlobalSecondaryIndexSettingsUpdate> replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
void |
setReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing 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 . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReplicaSettingsUpdate |
withRegionName(String regionName)
The region of the replica to be added.
|
ReplicaSettingsUpdate |
withReplicaGlobalSecondaryIndexSettingsUpdate(Collection<ReplicaGlobalSecondaryIndexSettingsUpdate> replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
ReplicaSettingsUpdate |
withReplicaGlobalSecondaryIndexSettingsUpdate(ReplicaGlobalSecondaryIndexSettingsUpdate... replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
ReplicaSettingsUpdate |
withReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global table replica's read capacity units.
|
ReplicaSettingsUpdate |
withReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
public void setRegionName(String regionName)
The region of the replica to be added.
regionName
- The region of the replica to be added.public String getRegionName()
The region of the replica to be added.
public ReplicaSettingsUpdate withRegionName(String regionName)
The region of the replica to be added.
regionName
- The region of the replica to be added.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 ReplicaSettingsUpdate 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 setReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettingsUpdate
- Autoscaling settings for managing a global table replica's read capacity units.public AutoScalingSettingsUpdate getReplicaProvisionedReadCapacityAutoScalingSettingsUpdate()
Autoscaling settings for managing a global table replica's read capacity units.
public ReplicaSettingsUpdate withReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettingsUpdate
- Autoscaling settings for managing a global table replica's read capacity units.public List<ReplicaGlobalSecondaryIndexSettingsUpdate> getReplicaGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
public void setReplicaGlobalSecondaryIndexSettingsUpdate(Collection<ReplicaGlobalSecondaryIndexSettingsUpdate> replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
replicaGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public ReplicaSettingsUpdate withReplicaGlobalSecondaryIndexSettingsUpdate(ReplicaGlobalSecondaryIndexSettingsUpdate... replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
NOTE: This method appends the values to the existing list (if any). Use
setReplicaGlobalSecondaryIndexSettingsUpdate(java.util.Collection)
or
withReplicaGlobalSecondaryIndexSettingsUpdate(java.util.Collection)
if you want to override the existing
values.
replicaGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public ReplicaSettingsUpdate withReplicaGlobalSecondaryIndexSettingsUpdate(Collection<ReplicaGlobalSecondaryIndexSettingsUpdate> replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
replicaGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public String toString()
toString
in class Object
Object.toString()
public ReplicaSettingsUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.