Class AdjustmentType
- java.lang.Object
-
- com.amazonaws.services.autoscaling.model.AdjustmentType
-
- All Implemented Interfaces:
Serializable,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdjustmentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentTypeclone()booleanequals(Object obj)StringgetAdjustmentType()The policy adjustment type.inthashCode()voidsetAdjustmentType(String adjustmentType)The policy adjustment type.StringtoString()Returns a string representation of this object; useful for testing and debugging.AdjustmentTypewithAdjustmentType(String adjustmentType)The policy adjustment type.
-
-
-
Method Detail
-
setAdjustmentType
public void setAdjustmentType(String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.- Parameters:
adjustmentType- The policy adjustment type. The valid values areChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.
-
getAdjustmentType
public String getAdjustmentType()
The policy adjustment type. The valid values are
ChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.- Returns:
- The policy adjustment type. The valid values are
ChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.
-
withAdjustmentType
public AdjustmentType withAdjustmentType(String adjustmentType)
The policy adjustment type. The valid values are
ChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.- Parameters:
adjustmentType- The policy adjustment type. The valid values areChangeInCapacity,ExactCapacity, andPercentChangeInCapacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AdjustmentType clone()
-
-