Class SpotFleetMonitoring

java.lang.Object
com.amazonaws.services.ec2.model.SpotFleetMonitoring
All Implemented Interfaces:
Serializable, Cloneable

public class SpotFleetMonitoring extends Object implements Serializable, Cloneable

Describes whether monitoring is enabled.

See Also:
  • Constructor Details

    • SpotFleetMonitoring

      public SpotFleetMonitoring()
  • Method Details

    • setEnabled

      public void setEnabled(Boolean enabled)

      Enables monitoring for the instance.

      Default: false

      Parameters:
      enabled - Enables monitoring for the instance.

      Default: false

    • getEnabled

      public Boolean getEnabled()

      Enables monitoring for the instance.

      Default: false

      Returns:
      Enables monitoring for the instance.

      Default: false

    • withEnabled

      public SpotFleetMonitoring withEnabled(Boolean enabled)

      Enables monitoring for the instance.

      Default: false

      Parameters:
      enabled - Enables monitoring for the instance.

      Default: false

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEnabled

      public Boolean isEnabled()

      Enables monitoring for the instance.

      Default: false

      Returns:
      Enables monitoring for the instance.

      Default: false

    • 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 SpotFleetMonitoring clone()
      Overrides:
      clone in class Object