Package com.amazonaws.services.ec2.model
Class Monitoring
- java.lang.Object
-
- com.amazonaws.services.ec2.model.Monitoring
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Monitoring extends Object implements Serializable, Cloneable
Describes the monitoring for the instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Monitoring()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Monitoringclone()booleanequals(Object obj)StringgetState()Indicates whether monitoring is enabled for the instance.inthashCode()voidsetState(MonitoringState state)Indicates whether monitoring is enabled for the instance.voidsetState(String state)Indicates whether monitoring is enabled for the instance.StringtoString()Returns a string representation of this object; useful for testing and debugging.MonitoringwithState(MonitoringState state)Indicates whether monitoring is enabled for the instance.MonitoringwithState(String state)Indicates whether monitoring is enabled for the instance.
-
-
-
Method Detail
-
setState
public void setState(String state)
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- See Also:
MonitoringState
-
getState
public String getState()
Indicates whether monitoring is enabled for the instance.
- Returns:
- Indicates whether monitoring is enabled for the instance.
- See Also:
MonitoringState
-
withState
public Monitoring withState(String state)
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MonitoringState
-
setState
public void setState(MonitoringState state)
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- See Also:
MonitoringState
-
withState
public Monitoring withState(MonitoringState state)
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MonitoringState
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Monitoring clone()
-
-