public class AdjustmentType extends Object implements Serializable, Cloneable
Describes a policy adjustment type.
For more information, see Dynamic Scaling in the Auto Scaling Developer Guide .
| Constructor and Description |
|---|
AdjustmentType() |
| Modifier and Type | Method and Description |
|---|---|
AdjustmentType |
clone() |
boolean |
equals(Object obj) |
String |
getAdjustmentType()
The policy adjustment type.
|
int |
hashCode() |
void |
setAdjustmentType(String adjustmentType)
The policy adjustment type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdjustmentType |
withAdjustmentType(String adjustmentType)
The policy adjustment type.
|
public String getAdjustmentType()
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.public void setAdjustmentType(String adjustmentType)
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
adjustmentType - The policy adjustment type. The valid values are
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.public AdjustmentType withAdjustmentType(String adjustmentType)
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
adjustmentType - The policy adjustment type. The valid values are
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.public String toString()
toString in class ObjectObject.toString()public AdjustmentType clone()
Copyright © 2015. All rights reserved.