@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingSettingsUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Represents the autoscaling 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 autoscaling for this global table or global secondary index.
|
String |
getAutoScalingRoleArn()
Role ARN used for configuring autoscaling 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 autoscaling for this global table or global secondary index.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
|
void |
setAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling 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 autoscaling for this global table or global secondary index.
|
AutoScalingSettingsUpdate |
withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling 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 autoscaling for this global table or global secondary index.
autoScalingDisabled
- Disabled autoscaling for this global table or global secondary index.public Boolean getAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
public AutoScalingSettingsUpdate withAutoScalingDisabled(Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
autoScalingDisabled
- Disabled autoscaling for this global table or global secondary index.public Boolean isAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
public void setAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
autoScalingRoleArn
- Role ARN used for configuring autoscaling policy.public String getAutoScalingRoleArn()
Role ARN used for configuring autoscaling policy.
public AutoScalingSettingsUpdate withAutoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
autoScalingRoleArn
- Role ARN used for configuring autoscaling 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 © 2019. All rights reserved.