public class AutoScalingSettingsUpdate
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
|
java.lang.String |
getAutoScalingRoleArn()
Role ARN used for configuring autoscaling policy.
|
java.lang.Long |
getMaximumUnits()
The maximum capacity units that a global table or global secondary index
should be scaled up to.
|
java.lang.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() |
java.lang.Boolean |
isAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
|
void |
setAutoScalingDisabled(java.lang.Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
|
void |
setAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
|
void |
setMaximumUnits(java.lang.Long maximumUnits)
The maximum capacity units that a global table or global secondary index
should be scaled up to.
|
void |
setMinimumUnits(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AutoScalingSettingsUpdate |
withAutoScalingDisabled(java.lang.Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
|
AutoScalingSettingsUpdate |
withAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
|
AutoScalingSettingsUpdate |
withMaximumUnits(java.lang.Long maximumUnits)
The maximum capacity units that a global table or global secondary index
should be scaled up to.
|
AutoScalingSettingsUpdate |
withMinimumUnits(java.lang.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 java.lang.Long getMinimumUnits()
The minimum capacity units that a global table or global secondary index should be scaled down to.
Constraints:
Range: 1 -
The minimum capacity units that a global table or global secondary index should be scaled down to.
public void setMinimumUnits(java.lang.Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
Constraints:
Range: 1 -
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.
public AutoScalingSettingsUpdate withMinimumUnits(java.lang.Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.
public java.lang.Long getMaximumUnits()
The maximum capacity units that a global table or global secondary index should be scaled up to.
Constraints:
Range: 1 -
The maximum capacity units that a global table or global secondary index should be scaled up to.
public void setMaximumUnits(java.lang.Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
Constraints:
Range: 1 -
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.
public AutoScalingSettingsUpdate withMaximumUnits(java.lang.Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.
public java.lang.Boolean isAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
Disabled autoscaling for this global table or global secondary index.
public java.lang.Boolean getAutoScalingDisabled()
Disabled autoscaling for this global table or global secondary index.
Disabled autoscaling for this global table or global secondary index.
public void setAutoScalingDisabled(java.lang.Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
autoScalingDisabled
- Disabled autoscaling for this global table or global secondary index.
public AutoScalingSettingsUpdate withAutoScalingDisabled(java.lang.Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
Returns a reference to this object so that method calls can be chained together.
autoScalingDisabled
- Disabled autoscaling for this global table or global secondary index.
public java.lang.String getAutoScalingRoleArn()
Role ARN used for configuring autoscaling policy.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
Role ARN used for configuring autoscaling policy.
public void setAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingRoleArn
- Role ARN used for configuring autoscaling policy.
public AutoScalingSettingsUpdate withAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingRoleArn
- Role ARN used for configuring autoscaling policy.
public AutoScalingPolicyUpdate getScalingPolicyUpdate()
The scaling policy to apply for scaling target global table or global secondary index capacity units.
The scaling policy to apply for scaling target global table or global secondary index capacity units.
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 AutoScalingSettingsUpdate withScalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
Returns a reference to this object so that method calls can be chained together.
scalingPolicyUpdate
- The scaling policy to apply for scaling target global table or global secondary index capacity units.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.