public class SimpleMonitor extends Monitor
Modifier and Type | Class and Description |
---|---|
static class |
SimpleMonitor.Builder
Builder to make monitor construction easier.
|
Monitor.Frequency, Monitor.MonitorType, Monitor.Status
Modifier and Type | Field and Description |
---|---|
static Monitor.MonitorType |
TYPE
The type of the monitor.
|
Constructor and Description |
---|
SimpleMonitor()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static SimpleMonitor.Builder |
builder()
Returns a builder for the monitor.
|
String |
getUri()
Returns the uri of the monitor.
|
void |
setUri(String uri)
Sets the uri of the monitor.
|
String |
toString()
Returns a string representation of the object.
|
getApiVersion, getCreatedAt, getFrequency, getId, getLocations, getModifedAt, getName, getOptions, getSlaThreshold, getStatus, getType, getUserId, setFrequency, setFrequency, setId, setLocations, setName, setOptions, setSlaThreshold, setStatus, setStatus, setType, setType
public static final Monitor.MonitorType TYPE
public void setUri(String uri)
uri
- The uri of the monitorpublic String getUri()
public String toString()
public static SimpleMonitor.Builder builder()
Copyright © 2018. All rights reserved.