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
MonitoringState
public void setState(java.lang.String state)
Constraints:
Allowed Values: disabled, disabling, 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, disabling, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public void setState(MonitoringState state)
Constraints:
Allowed Values: disabled, disabling, 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, disabling, 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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.