public class ReplicaSettingsUpdate
extends java.lang.Object
implements java.io.Serializable
Represents the settings for a global table in a region that will be modified.
Constructor and Description |
---|
ReplicaSettingsUpdate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRegionName()
The region of the replica to be added.
|
java.util.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.
|
java.lang.Long |
getReplicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException . |
int |
hashCode() |
void |
setRegionName(java.lang.String regionName)
The region of the replica to be added.
|
void |
setReplicaGlobalSecondaryIndexSettingsUpdate(java.util.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(java.lang.Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicaSettingsUpdate |
withRegionName(java.lang.String regionName)
The region of the replica to be added.
|
ReplicaSettingsUpdate |
withReplicaGlobalSecondaryIndexSettingsUpdate(java.util.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(java.lang.Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException . |
public java.lang.String getRegionName()
The region of the replica to be added.
The region of the replica to be added.
public void setRegionName(java.lang.String regionName)
The region of the replica to be added.
regionName
- The region of the replica to be added.
public ReplicaSettingsUpdate withRegionName(java.lang.String regionName)
The region of the replica to be added.
Returns a reference to this object so that method calls can be chained together.
regionName
- The region of the replica to be added.
public 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 ReplicaSettingsUpdate 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 AutoScalingSettingsUpdate getReplicaProvisionedReadCapacityAutoScalingSettingsUpdate()
Autoscaling settings for managing a global table replica's read capacity units.
Autoscaling settings for managing a global table replica's read capacity units.
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 ReplicaSettingsUpdate withReplicaProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate replicaProvisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global table replica's read capacity units.
Returns a reference to this object so that method calls can be chained together.
replicaProvisionedReadCapacityAutoScalingSettingsUpdate
- Autoscaling settings for managing a global table replica's read capacity units.
public java.util.List<ReplicaGlobalSecondaryIndexSettingsUpdate> getReplicaGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
Represents the settings of a global secondary index for a global table that will be modified.
public void setReplicaGlobalSecondaryIndexSettingsUpdate(java.util.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.
Returns a reference to this object so that method calls can be chained together.
replicaGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.
public ReplicaSettingsUpdate withReplicaGlobalSecondaryIndexSettingsUpdate(java.util.Collection<ReplicaGlobalSecondaryIndexSettingsUpdate> replicaGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
Returns a reference to this object so that method calls can be chained together.
replicaGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.