public class Monitoring
extends java.lang.Object
implements java.io.Serializable
Describes the monitoring for the instance.
| Constructor and Description |
|---|
Monitoring() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getState()
Constraints:
Allowed Values: disabled, disabling, enabled, pending
MonitoringStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: disabled, disabling, 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, 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 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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.