@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()
Auto scaling 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 . |
String |
getReplicaTableClass()
Replica-specific table class.
|
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)
Auto scaling 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 . |
void |
setReplicaTableClass(String replicaTableClass)
Replica-specific table class.
|
String |
toString()
Returns a string representation of this object.
|
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)
Auto scaling 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 . |
ReplicaSettingsUpdate |
withReplicaTableClass(String replicaTableClass)
Replica-specific table class.
|
ReplicaSettingsUpdate |
withReplicaTableClass(TableClass replicaTableClass)
Replica-specific table class.
|
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)
Auto scaling settings for managing a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing a global table replica's read capacity units.public AutoScalingSettingsUpdate getReplicaProvisionedReadCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing a global table replica's read capacity units.
public ReplicaSettingsUpdate withReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing a global table replica's read capacity units.
replicaProvisionedReadCapacityAutoScalingSettingsUpdate
- Auto scaling 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 void setReplicaTableClass(String replicaTableClass)
Replica-specific table class. If not specified, uses the source table's table class.
replicaTableClass
- Replica-specific table class. If not specified, uses the source table's table class.TableClass
public String getReplicaTableClass()
Replica-specific table class. If not specified, uses the source table's table class.
TableClass
public ReplicaSettingsUpdate withReplicaTableClass(String replicaTableClass)
Replica-specific table class. If not specified, uses the source table's table class.
replicaTableClass
- Replica-specific table class. If not specified, uses the source table's table class.TableClass
public ReplicaSettingsUpdate withReplicaTableClass(TableClass replicaTableClass)
Replica-specific table class. If not specified, uses the source table's table class.
replicaTableClass
- Replica-specific table class. If not specified, uses the source table's table class.TableClass
public String toString()
toString
in class Object
Object.toString()
public ReplicaSettingsUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.