@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaSpecification extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Web Services Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per Amazon Web Services Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)
readCapacityUnits
: The provisioned read capacity units. (Optional)
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
Constructor and Description |
---|
ReplicaSpecification() |
Modifier and Type | Method and Description |
---|---|
ReplicaSpecification |
clone() |
boolean |
equals(Object obj) |
AutoScalingSettings |
getReadCapacityAutoScaling()
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
|
Long |
getReadCapacityUnits()
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
|
String |
getRegion()
The Amazon Web Services Region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
|
void |
setReadCapacityUnits(Long readCapacityUnits)
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
|
void |
setRegion(String region)
The Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
ReplicaSpecification |
withReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
|
ReplicaSpecification |
withReadCapacityUnits(Long readCapacityUnits)
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
|
ReplicaSpecification |
withRegion(String region)
The Amazon Web Services Region.
|
public void setRegion(String region)
The Amazon Web Services Region.
region
- The Amazon Web Services Region.public String getRegion()
The Amazon Web Services Region.
public ReplicaSpecification withRegion(String region)
The Amazon Web Services Region.
region
- The Amazon Web Services Region.public void setReadCapacityUnits(Long readCapacityUnits)
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
readCapacityUnits
- The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services
Region.public Long getReadCapacityUnits()
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
public ReplicaSpecification withReadCapacityUnits(Long readCapacityUnits)
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
readCapacityUnits
- The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services
Region.public void setReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
readCapacityAutoScaling
- The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services
Region.public AutoScalingSettings getReadCapacityAutoScaling()
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
public ReplicaSpecification withReadCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling)
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
readCapacityAutoScaling
- The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services
Region.public String toString()
toString
in class Object
Object.toString()
public ReplicaSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.