Package com.amazonaws.services.ec2.model
Class Monitoring
java.lang.Object
com.amazonaws.services.ec2.model.Monitoring
- All Implemented Interfaces:
Serializable,Cloneable
Describes the monitoring for the instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetState()Indicates whether monitoring is enabled for the instance.inthashCode()voidsetState(MonitoringState state) Indicates whether monitoring is enabled for the instance.voidIndicates whether monitoring is enabled for the instance.toString()Returns a string representation of this object; useful for testing and debugging.withState(MonitoringState state) Indicates whether monitoring is enabled for the instance.Indicates whether monitoring is enabled for the instance.
-
Constructor Details
-
Monitoring
public Monitoring()
-
-
Method Details
-
setState
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- See Also:
-
getState
Indicates whether monitoring is enabled for the instance.
- Returns:
- Indicates whether monitoring is enabled for the instance.
- See Also:
-
withState
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:
-
setState
Indicates whether monitoring is enabled for the instance.
- Parameters:
state- Indicates whether monitoring is enabled for the instance.- See Also:
-
withState
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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-