public class ReplicaSettingsUpdate extends Object implements 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(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.
|
Long |
getReplicaProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
int |
hashCode() |
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 |
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 |
withReplicaProvisionedReadCapacityUnits(Long replicaProvisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
public String getRegionName()
The region of the replica to be added.
The region of the replica to be added.
public void setRegionName(String regionName)
The region of the replica to be added.
regionName - The region of the replica to be added.
public ReplicaSettingsUpdate withRegionName(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 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(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(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.