public class Monitoring
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the monitoring for the instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
state
Indicates whether monitoring is enabled for the instance.
|
Constructor and Description |
---|
Monitoring() |
Modifier and Type | Method and Description |
---|---|
Monitoring |
clone() |
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.
|
private java.lang.String state
Indicates whether monitoring is enabled for the instance.
public void setState(java.lang.String state)
Indicates whether monitoring is enabled for the instance.
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public java.lang.String getState()
Indicates whether monitoring is enabled for the instance.
MonitoringState
public Monitoring withState(java.lang.String state)
Indicates whether monitoring is enabled for the instance.
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public void setState(MonitoringState state)
Indicates whether monitoring is enabled for the instance.
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public Monitoring withState(MonitoringState state)
Indicates whether monitoring is enabled for the instance.
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Monitoring clone()
clone
in class java.lang.Object