public final class UptimeCheckConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Stackdriver Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
UptimeCheckConfig() |
| Modifier and Type | Method and Description |
|---|---|
UptimeCheckConfig |
clone() |
java.util.List<ContentMatcher> |
getContentMatchers()
The expected content on the page the check is run against.
|
java.lang.String |
getDisplayName()
A human-friendly name for the uptime check configuration.
|
HttpCheck |
getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
java.util.List<InternalChecker> |
getInternalCheckers()
The internal checkers that this check will egress from.
|
java.lang.Boolean |
getIsInternal()
Denotes whether this is a check that egresses from InternalCheckers.
|
MonitoredResource |
getMonitoredResource()
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the
configuration.
|
java.lang.String |
getName()
A unique resource name for this UptimeCheckConfig.
|
java.lang.String |
getPeriod()
How often, in seconds, the uptime check is performed.
|
ResourceGroup |
getResourceGroup()
The group resource associated with the configuration.
|
java.util.List<java.lang.String> |
getSelectedRegions()
The list of regions from which the check will be run.
|
TcpCheck |
getTcpCheck()
Contains information needed to make a TCP check.
|
java.lang.String |
getTimeout()
The maximum amount of time to wait for the request to complete (must be between 1 and 60
seconds).
|
UptimeCheckConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
UptimeCheckConfig |
setContentMatchers(java.util.List<ContentMatcher> contentMatchers)
The expected content on the page the check is run against.
|
UptimeCheckConfig |
setDisplayName(java.lang.String displayName)
A human-friendly name for the uptime check configuration.
|
UptimeCheckConfig |
setHttpCheck(HttpCheck httpCheck)
Contains information needed to make an HTTP or HTTPS check.
|
UptimeCheckConfig |
setInternalCheckers(java.util.List<InternalChecker> internalCheckers)
The internal checkers that this check will egress from.
|
UptimeCheckConfig |
setIsInternal(java.lang.Boolean isInternal)
Denotes whether this is a check that egresses from InternalCheckers.
|
UptimeCheckConfig |
setMonitoredResource(MonitoredResource monitoredResource)
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the
configuration.
|
UptimeCheckConfig |
setName(java.lang.String name)
A unique resource name for this UptimeCheckConfig.
|
UptimeCheckConfig |
setPeriod(java.lang.String period)
How often, in seconds, the uptime check is performed.
|
UptimeCheckConfig |
setResourceGroup(ResourceGroup resourceGroup)
The group resource associated with the configuration.
|
UptimeCheckConfig |
setSelectedRegions(java.util.List<java.lang.String> selectedRegions)
The list of regions from which the check will be run.
|
UptimeCheckConfig |
setTcpCheck(TcpCheck tcpCheck)
Contains information needed to make a TCP check.
|
UptimeCheckConfig |
setTimeout(java.lang.String timeout)
The maximum amount of time to wait for the request to complete (must be between 1 and 60
seconds).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<ContentMatcher> getContentMatchers()
null for nonepublic UptimeCheckConfig setContentMatchers(java.util.List<ContentMatcher> contentMatchers)
contentMatchers - contentMatchers or null for nonepublic java.lang.String getDisplayName()
null for nonepublic UptimeCheckConfig setDisplayName(java.lang.String displayName)
displayName - displayName or null for nonepublic HttpCheck getHttpCheck()
null for nonepublic UptimeCheckConfig setHttpCheck(HttpCheck httpCheck)
httpCheck - httpCheck or null for nonepublic java.util.List<InternalChecker> getInternalCheckers()
null for nonepublic UptimeCheckConfig setInternalCheckers(java.util.List<InternalChecker> internalCheckers)
internalCheckers - internalCheckers or null for nonepublic java.lang.Boolean getIsInternal()
null for nonepublic UptimeCheckConfig setIsInternal(java.lang.Boolean isInternal)
isInternal - isInternal or null for nonepublic MonitoredResource getMonitoredResource()
null for nonepublic UptimeCheckConfig setMonitoredResource(MonitoredResource monitoredResource)
monitoredResource - monitoredResource or null for nonepublic java.lang.String getName()
null for nonepublic UptimeCheckConfig setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPeriod()
null for nonepublic UptimeCheckConfig setPeriod(java.lang.String period)
period - period or null for nonepublic ResourceGroup getResourceGroup()
null for nonepublic UptimeCheckConfig setResourceGroup(ResourceGroup resourceGroup)
resourceGroup - resourceGroup or null for nonepublic java.util.List<java.lang.String> getSelectedRegions()
null for nonepublic UptimeCheckConfig setSelectedRegions(java.util.List<java.lang.String> selectedRegions)
selectedRegions - selectedRegions or null for nonepublic TcpCheck getTcpCheck()
null for nonepublic UptimeCheckConfig setTcpCheck(TcpCheck tcpCheck)
tcpCheck - tcpCheck or null for nonepublic java.lang.String getTimeout()
null for nonepublic UptimeCheckConfig setTimeout(java.lang.String timeout)
timeout - timeout or null for nonepublic UptimeCheckConfig set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic UptimeCheckConfig clone()
clone in class com.google.api.client.json.GenericJson