@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaSpecificationSummary extends Object implements Serializable, Cloneable, StructuredPojo
The Region-specific settings of a multi-Region table in the specified Amazon Web Services Region.
If the multi-Region table is using provisioned capacity and has optional auto scaling policies configured, note that the Region specific summary returns both read and write capacity settings. But only Region specific read capacity settings can be configured for a multi-Region table. In a multi-Region table, your write capacity units will be synced across all Amazon Web Services Regions to ensure that there is enough capacity to replicate write events across Regions.
Constructor and Description |
---|
ReplicaSpecificationSummary() |
Modifier and Type | Method and Description |
---|---|
ReplicaSpecificationSummary |
clone() |
boolean |
equals(Object obj) |
CapacitySpecificationSummary |
getCapacitySpecification() |
String |
getRegion()
The Amazon Web Services Region.
|
String |
getStatus()
The status of the multi-Region table in the specified Amazon Web Services Region.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacitySpecification(CapacitySpecificationSummary capacitySpecification) |
void |
setRegion(String region)
The Amazon Web Services Region.
|
void |
setStatus(String status)
The status of the multi-Region table in the specified Amazon Web Services Region.
|
String |
toString()
Returns a string representation of this object.
|
ReplicaSpecificationSummary |
withCapacitySpecification(CapacitySpecificationSummary capacitySpecification) |
ReplicaSpecificationSummary |
withRegion(String region)
The Amazon Web Services Region.
|
ReplicaSpecificationSummary |
withStatus(String status)
The status of the multi-Region table in the specified Amazon Web Services Region.
|
ReplicaSpecificationSummary |
withStatus(TableStatus status)
The status of the multi-Region table in the specified 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 ReplicaSpecificationSummary withRegion(String region)
The Amazon Web Services Region.
region
- The Amazon Web Services Region.public void setStatus(String status)
The status of the multi-Region table in the specified Amazon Web Services Region.
status
- The status of the multi-Region table in the specified Amazon Web Services Region.TableStatus
public String getStatus()
The status of the multi-Region table in the specified Amazon Web Services Region.
TableStatus
public ReplicaSpecificationSummary withStatus(String status)
The status of the multi-Region table in the specified Amazon Web Services Region.
status
- The status of the multi-Region table in the specified Amazon Web Services Region.TableStatus
public ReplicaSpecificationSummary withStatus(TableStatus status)
The status of the multi-Region table in the specified Amazon Web Services Region.
status
- The status of the multi-Region table in the specified Amazon Web Services Region.TableStatus
public void setCapacitySpecification(CapacitySpecificationSummary capacitySpecification)
capacitySpecification
- public CapacitySpecificationSummary getCapacitySpecification()
public ReplicaSpecificationSummary withCapacitySpecification(CapacitySpecificationSummary capacitySpecification)
capacitySpecification
- public String toString()
toString
in class Object
Object.toString()
public ReplicaSpecificationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.