Class InstanceMonitoring

java.lang.Object
com.amazonaws.services.autoscaling.model.InstanceMonitoring
All Implemented Interfaces:
Serializable, Cloneable

public class InstanceMonitoring extends Object implements Serializable, Cloneable

Describes whether instance monitoring is enabled.

See Also:
  • Constructor Details

    • InstanceMonitoring

      public InstanceMonitoring()
  • Method Details

    • setEnabled

      public void setEnabled(Boolean enabled)

      If True, instance monitoring is enabled.

      Parameters:
      enabled - If True, instance monitoring is enabled.
    • getEnabled

      public Boolean getEnabled()

      If True, instance monitoring is enabled.

      Returns:
      If True, instance monitoring is enabled.
    • withEnabled

      public InstanceMonitoring withEnabled(Boolean enabled)

      If True, instance monitoring is enabled.

      Parameters:
      enabled - If True, instance monitoring is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEnabled

      public Boolean isEnabled()

      If True, instance monitoring is enabled.

      Returns:
      If True, instance monitoring is enabled.
    • 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 InstanceMonitoring clone()
      Overrides:
      clone in class Object