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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceMonitoring
clone()
boolean
equals(Object obj)
Boolean
getEnabled()
IfTrue
, instance monitoring is enabled.int
hashCode()
Boolean
isEnabled()
IfTrue
, instance monitoring is enabled.void
setEnabled(Boolean enabled)
IfTrue
, instance monitoring is enabled.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceMonitoring
withEnabled(Boolean enabled)
IfTrue
, instance monitoring is enabled.
-
-
-
Method Detail
-
setEnabled
public void setEnabled(Boolean enabled)
If
True
, instance monitoring is enabled.- Parameters:
enabled
- IfTrue
, 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
- IfTrue
, 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceMonitoring clone()
-
-