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 void setAdjustmentType(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 String getAdjustmentType()
The policy adjustment type. The valid values are
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.
ChangeInCapacity
, ExactCapacity
, and
PercentChangeInCapacity
.public AdjustmentType withAdjustmentType(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 String toString()
toString
in class Object
Object.toString()
public AdjustmentType clone()
Copyright © 2018. All rights reserved.