@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaAutoScalingDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the auto scaling settings of the replica.
Constructor and Description |
---|
ReplicaAutoScalingDescription() |
public void setRegionName(String regionName)
The Region where the replica exists.
regionName
- The Region where the replica exists.public String getRegionName()
The Region where the replica exists.
public ReplicaAutoScalingDescription withRegionName(String regionName)
The Region where the replica exists.
regionName
- The Region where the replica exists.public List<ReplicaGlobalSecondaryIndexAutoScalingDescription> getGlobalSecondaryIndexes()
Replica-specific global secondary index auto scaling settings.
public void setGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexAutoScalingDescription> globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.
globalSecondaryIndexes
- Replica-specific global secondary index auto scaling settings.public ReplicaAutoScalingDescription withGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndexAutoScalingDescription... globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalSecondaryIndexes(java.util.Collection)
or
withGlobalSecondaryIndexes(java.util.Collection)
if you want to override the existing values.
globalSecondaryIndexes
- Replica-specific global secondary index auto scaling settings.public ReplicaAutoScalingDescription withGlobalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexAutoScalingDescription> globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.
globalSecondaryIndexes
- Replica-specific global secondary index auto scaling settings.public void setReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
replicaProvisionedReadCapacityAutoScalingSettings
- public AutoScalingSettingsDescription getReplicaProvisionedReadCapacityAutoScalingSettings()
public ReplicaAutoScalingDescription withReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
replicaProvisionedReadCapacityAutoScalingSettings
- public void setReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
replicaProvisionedWriteCapacityAutoScalingSettings
- public AutoScalingSettingsDescription getReplicaProvisionedWriteCapacityAutoScalingSettings()
public ReplicaAutoScalingDescription withReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
replicaProvisionedWriteCapacityAutoScalingSettings
- public void setReplicaStatus(String replicaStatus)
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
replicaStatus
- The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
ReplicaStatus
public String getReplicaStatus()
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
ReplicaStatus
public ReplicaAutoScalingDescription withReplicaStatus(String replicaStatus)
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
replicaStatus
- The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
ReplicaStatus
public ReplicaAutoScalingDescription withReplicaStatus(ReplicaStatus replicaStatus)
The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
replicaStatus
- The current state of the replica:
CREATING
- The replica is being created.
UPDATING
- The replica is being updated.
DELETING
- The replica is being deleted.
ACTIVE
- The replica is ready for use.
ReplicaStatus
public String toString()
toString
in class Object
Object.toString()
public ReplicaAutoScalingDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.