@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.
ReplicaStatuspublic 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.
ReplicaStatuspublic 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.
ReplicaStatuspublic 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.
ReplicaStatuspublic String toString()
toString in class ObjectObject.toString()public ReplicaAutoScalingDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.