Package com.amazonaws.services.ec2.model
Class ScheduledInstancesMonitoring
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ScheduledInstancesMonitoring
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduledInstancesMonitoring extends Object implements Serializable, Cloneable
Describes whether monitoring is enabled for a Scheduled Instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledInstancesMonitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledInstancesMonitoring
clone()
boolean
equals(Object obj)
Boolean
getEnabled()
Indicates whether monitoring is enabled.int
hashCode()
Boolean
isEnabled()
Indicates whether monitoring is enabled.void
setEnabled(Boolean enabled)
Indicates whether monitoring is enabled.String
toString()
Returns a string representation of this object; useful for testing and debugging.ScheduledInstancesMonitoring
withEnabled(Boolean enabled)
Indicates whether monitoring is enabled.
-
-
-
Method Detail
-
setEnabled
public void setEnabled(Boolean enabled)
Indicates whether monitoring is enabled.
- Parameters:
enabled
- Indicates whether monitoring is enabled.
-
getEnabled
public Boolean getEnabled()
Indicates whether monitoring is enabled.
- Returns:
- Indicates whether monitoring is enabled.
-
withEnabled
public ScheduledInstancesMonitoring withEnabled(Boolean enabled)
Indicates whether monitoring is enabled.
- Parameters:
enabled
- Indicates whether monitoring is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
public Boolean isEnabled()
Indicates whether monitoring is enabled.
- Returns:
- Indicates whether 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 ScheduledInstancesMonitoring clone()
-
-