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:
  • Constructor Details

    • AdjustmentType

      public AdjustmentType()
  • Method Details

    • setAdjustmentType

      public void setAdjustmentType(String adjustmentType)

      The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

      Parameters:
      adjustmentType - The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    • getAdjustmentType

      public String getAdjustmentType()

      The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

      Returns:
      The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    • withAdjustmentType

      public AdjustmentType withAdjustmentType(String adjustmentType)

      The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

      Parameters:
      adjustmentType - The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
      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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public AdjustmentType clone()
      Overrides:
      clone in class Object