public class AdjustmentType extends Object implements Serializable
Specifies whether the PutScalingPolicy ScalingAdjustment
parameter is an absolute number or a percentage of the current
capacity.
| Constructor and Description |
|---|
AdjustmentType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAdjustmentType()
A policy adjustment type.
|
int |
hashCode() |
void |
setAdjustmentType(String adjustmentType)
A policy adjustment type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdjustmentType |
withAdjustmentType(String adjustmentType)
A 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 - A policy adjustment type. 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 - A policy adjustment type. Valid values are
ChangeInCapacity, ExactCapacity, and
PercentChangeInCapacity.public String toString()
toString in class ObjectObject.toString()Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.