@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingSettingsDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the auto scaling settings for a global table or global secondary index.
Constructor and Description |
---|
AutoScalingSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
AutoScalingSettingsDescription |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoScalingDisabled()
Disabled auto scaling for this global table or global secondary index.
|
String |
getAutoScalingRoleArn()
Role ARN used for configuring the auto scaling policy.
|
Long |
getMaximumUnits()
The maximum capacity units that a global table or global secondary index should be scaled up to.
|
Long |
getMinimumUnits()
The minimum capacity units that a global table or global secondary index should be scaled down to.
|
List<AutoScalingPolicyDescription> |
getScalingPolicies()
Information about the scaling policies.
|
int |
hashCode() |
Boolean |
isAutoScalingDisabled()
Disabled auto scaling for this global table or global secondary index.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
|
void |
setAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.
|
void |
setMaximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
|
void |
setMinimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
|
void |
setScalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingSettingsDescription |
withAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
|
AutoScalingSettingsDescription |
withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.
|
AutoScalingSettingsDescription |
withMaximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
|
AutoScalingSettingsDescription |
withMinimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
|
AutoScalingSettingsDescription |
withScalingPolicies(AutoScalingPolicyDescription... scalingPolicies)
Information about the scaling policies.
|
AutoScalingSettingsDescription |
withScalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
|
public void setMinimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.public Long getMinimumUnits()
The minimum capacity units that a global table or global secondary index should be scaled down to.
public AutoScalingSettingsDescription withMinimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.public void setMaximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.public Long getMaximumUnits()
The maximum capacity units that a global table or global secondary index should be scaled up to.
public AutoScalingSettingsDescription withMaximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.public void setAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
autoScalingDisabled
- Disabled auto scaling for this global table or global secondary index.public Boolean getAutoScalingDisabled()
Disabled auto scaling for this global table or global secondary index.
public AutoScalingSettingsDescription withAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
autoScalingDisabled
- Disabled auto scaling for this global table or global secondary index.public Boolean isAutoScalingDisabled()
Disabled auto scaling for this global table or global secondary index.
public void setAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring the auto scaling policy.public String getAutoScalingRoleArn()
Role ARN used for configuring the auto scaling policy.
public AutoScalingSettingsDescription withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring the auto scaling policy.public List<AutoScalingPolicyDescription> getScalingPolicies()
Information about the scaling policies.
public void setScalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.public AutoScalingSettingsDescription withScalingPolicies(AutoScalingPolicyDescription... scalingPolicies)
Information about the scaling policies.
NOTE: This method appends the values to the existing list (if any). Use
setScalingPolicies(java.util.Collection)
or withScalingPolicies(java.util.Collection)
if you
want to override the existing values.
scalingPolicies
- Information about the scaling policies.public AutoScalingSettingsDescription withScalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.public String toString()
toString
in class Object
Object.toString()
public AutoScalingSettingsDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.