@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingSettingsUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Represents the auto scaling settings to be modified for a global table or global secondary index.
Constructor and Description |
---|
AutoScalingSettingsUpdate() |
Modifier and Type | Method and Description |
---|---|
AutoScalingSettingsUpdate |
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 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.
|
AutoScalingPolicyUpdate |
getScalingPolicyUpdate()
The scaling policy to apply for scaling target global table or global secondary index capacity units.
|
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 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 |
setScalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingSettingsUpdate |
withAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
|
AutoScalingSettingsUpdate |
withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring auto scaling policy.
|
AutoScalingSettingsUpdate |
withMaximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
|
AutoScalingSettingsUpdate |
withMinimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
|
AutoScalingSettingsUpdate |
withScalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
|
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 AutoScalingSettingsUpdate 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 AutoScalingSettingsUpdate 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 AutoScalingSettingsUpdate 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 auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring auto scaling policy.public String getAutoScalingRoleArn()
Role ARN used for configuring auto scaling policy.
public AutoScalingSettingsUpdate withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring auto scaling policy.public void setScalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
scalingPolicyUpdate
- The scaling policy to apply for scaling target global table or global secondary index capacity units.public AutoScalingPolicyUpdate getScalingPolicyUpdate()
The scaling policy to apply for scaling target global table or global secondary index capacity units.
public AutoScalingSettingsUpdate withScalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
scalingPolicyUpdate
- The scaling policy to apply for scaling target global table or global secondary index capacity units.public String toString()
toString
in class Object
Object.toString()
public AutoScalingSettingsUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.