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 void setState(String state)
Indicates whether monitoring is enabled for the instance.
state
- Indicates whether monitoring is enabled for the instance.MonitoringState
public String getState()
Indicates whether monitoring is enabled for the instance.
MonitoringState
public Monitoring withState(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 String toString()
toString
in class Object
Object.toString()
public Monitoring clone()
Copyright © 2016. All rights reserved.