public class AdjustmentType extends Object implements Serializable
Describes a policy adjustment type.
| Constructor and Description |
|---|
AdjustmentType() |
| Modifier and Type | Method and Description |
|---|---|
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. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
Constraints:
Length: 1 - 255
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
public void setAdjustmentType(String adjustmentType)
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
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. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
public AdjustmentType withAdjustmentType(String adjustmentType)
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
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. For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.