public class Monitoring extends Object implements Serializable, Cloneable
Describes the monitoring for the instance.
| Constructor and Description |
|---|
Monitoring() |
| Modifier and Type | Method and Description |
|---|---|
Monitoring |
clone() |
boolean |
equals(Object obj) |
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(String state)
Indicates whether monitoring is enabled for the instance.
|
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(String state)
Indicates whether monitoring is enabled for the instance.
|
public String getState()
Constraints:
Allowed Values: disabled, disabling, enabled, pending
MonitoringStatepublic void setState(String state)
Constraints:
Allowed Values: disabled, disabling, enabled, pending
state - Indicates whether monitoring is enabled for the instance.MonitoringStatepublic Monitoring withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: disabled, disabling, enabled, pending
state - Indicates whether monitoring is enabled for the instance.MonitoringStatepublic void setState(MonitoringState state)
Constraints:
Allowed Values: disabled, disabling, 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, disabling, enabled, pending
state - Indicates whether monitoring is enabled for the instance.MonitoringStatepublic String toString()
toString in class ObjectObject.toString()public Monitoring clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.