public class AdjustmentType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a policy adjustment type.
For more information, see Dynamic Scaling in the Auto Scaling Developer Guide.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
adjustmentType
The policy adjustment type.
|
Constructor and Description |
---|
AdjustmentType() |
Modifier and Type | Method and Description |
---|---|
AdjustmentType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAdjustmentType()
The policy adjustment type.
|
int |
hashCode() |
void |
setAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdjustmentType |
withAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type.
|
private java.lang.String adjustmentType
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
public void setAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
adjustmentType
- The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public java.lang.String getAdjustmentType()
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public AdjustmentType withAdjustmentType(java.lang.String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
adjustmentType
- The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AdjustmentType clone()
clone
in class java.lang.Object