|
|||||||
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 status of an Amazon EC2 instance.
Constructor Summary | |
---|---|
Monitoring()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getState()
The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled). |
int |
hashCode()
|
void |
setState(String state)
The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Monitoring |
withState(String state)
The state of monitoring on an Amazon EC2 instance (ex: enabled, disabled). |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Monitoring()
Method Detail |
---|
public String getState()
public void setState(String state)
state
- The state of monitoring on an Amazon EC2 instance (ex: enabled,
disabled).public Monitoring withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The state of monitoring on an Amazon EC2 instance (ex: enabled,
disabled).
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |