public class AutoScalingSettingsDescription
extends java.lang.Object
implements java.io.Serializable
Represents the autoscaling settings for a global table or global secondary index.
Constructor and Description |
---|
AutoScalingSettingsDescription() |
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.
|
java.util.List<AutoScalingPolicyDescription> |
getScalingPolicies()
Information about the scaling policies.
|
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 |
setScalingPolicies(java.util.Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AutoScalingSettingsDescription |
withAutoScalingDisabled(java.lang.Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
|
AutoScalingSettingsDescription |
withAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoScaling policy.
|
AutoScalingSettingsDescription |
withMaximumUnits(java.lang.Long maximumUnits)
The maximum capacity units that a global table or global secondary index
should be scaled up to.
|
AutoScalingSettingsDescription |
withMinimumUnits(java.lang.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(java.util.Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
|
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 AutoScalingSettingsDescription 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 AutoScalingSettingsDescription 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 AutoScalingSettingsDescription 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.
Role ARN used for configuring autoScaling policy.
public void setAutoScalingRoleArn(java.lang.String autoScalingRoleArn)
Role ARN used for configuring autoScaling policy.
autoScalingRoleArn
- Role ARN used for configuring autoScaling policy.
public AutoScalingSettingsDescription 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.
autoScalingRoleArn
- Role ARN used for configuring autoScaling policy.
public java.util.List<AutoScalingPolicyDescription> getScalingPolicies()
Information about the scaling policies.
Information about the scaling policies.
public void setScalingPolicies(java.util.Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.
public AutoScalingSettingsDescription withScalingPolicies(AutoScalingPolicyDescription... scalingPolicies)
Information about the scaling policies.
Returns a reference to this object so that method calls can be chained together.
scalingPolicies
- Information about the scaling policies.
public AutoScalingSettingsDescription withScalingPolicies(java.util.Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
Returns a reference to this object so that method calls can be chained together.
scalingPolicies
- Information about the scaling policies.
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.