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
MonitoringState
public void setState(String state)
Constraints:
Allowed Values: disabled, disabling, enabled, pending
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public 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.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 String toString()
toString
in class Object
Object.toString()
public Monitoring clone()
Copyright © 2015. All rights reserved.