|
|||||||
| 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
MonitoringStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: disabled, enabled, pending
state - Indicates whether monitoring is enabled for the instance.MonitoringStatepublic 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.
MonitoringStatepublic void setState(MonitoringState state)
Constraints:
Allowed Values: disabled, enabled, pending
state - Indicates whether monitoring is enabled for the instance.MonitoringStatepublic 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.
MonitoringStatepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||