|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.Monitoring
public class Monitoring
Describes the monitoring for the instance.
Constructor Summary | |
---|---|
Monitoring()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getState()
Indicates whether monitoring is enabled for the instance. |
int |
hashCode()
|
void |
setState(MonitoringState state)
Indicates whether monitoring is enabled for the instance. |
void |
setState(java.lang.String state)
Indicates whether monitoring is enabled for the instance. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Monitoring |
withState(MonitoringState state)
Indicates whether monitoring is enabled for the instance. |
Monitoring |
withState(java.lang.String state)
Indicates whether monitoring is enabled for the instance. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Monitoring()
Method Detail |
---|
public java.lang.String getState()
Constraints:
Allowed Values: disabled, enabled, pending
MonitoringState
public void setState(java.lang.String state)
Constraints:
Allowed Values: disabled, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public Monitoring withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: disabled, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.
MonitoringState
public void setState(MonitoringState state)
Constraints:
Allowed Values: disabled, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public Monitoring withState(MonitoringState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: disabled, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.
MonitoringState
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |