public final class UptimeCheckConfig extends 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 Cloud Monitoring API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UptimeCheckConfig() |
| Modifier and Type | Method and Description |
|---|---|
UptimeCheckConfig |
clone() |
String |
getCheckerType()
The type of checkers to use to execute the Uptime check.
|
List<ContentMatcher> |
getContentMatchers()
The content that is expected to appear in the data returned by the target server against which
the check is run.
|
String |
getDisplayName()
A human-friendly name for the Uptime check configuration.
|
HttpCheck |
getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
List<InternalChecker> |
getInternalCheckers()
The internal checkers that this check will egress from.
|
Boolean |
getIsInternal()
If this is true, then checks are made only from the 'internal_checkers'.
|
MonitoredResource |
getMonitoredResource()
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the
configuration.
|
String |
getName()
A unique resource name for this Uptime check configuration.
|
String |
getPeriod()
How often, in seconds, the Uptime check is performed.
|
ResourceGroup |
getResourceGroup()
The group resource associated with the configuration.
|
List<String> |
getSelectedRegions()
The list of regions from which the check will be run.
|
TcpCheck |
getTcpCheck()
Contains information needed to make a TCP check.
|
String |
getTimeout()
The maximum amount of time to wait for the request to complete (must be between 1 and 60
seconds).
|
UptimeCheckConfig |
set(String fieldName,
Object value) |
UptimeCheckConfig |
setCheckerType(String checkerType)
The type of checkers to use to execute the Uptime check.
|
UptimeCheckConfig |
setContentMatchers(List<ContentMatcher> contentMatchers)
The content that is expected to appear in the data returned by the target server against which
the check is run.
|
UptimeCheckConfig |
setDisplayName(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(List<InternalChecker> internalCheckers)
The internal checkers that this check will egress from.
|
UptimeCheckConfig |
setIsInternal(Boolean isInternal)
If this is true, then checks are made only from the 'internal_checkers'.
|
UptimeCheckConfig |
setMonitoredResource(MonitoredResource monitoredResource)
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the
configuration.
|
UptimeCheckConfig |
setName(String name)
A unique resource name for this Uptime check configuration.
|
UptimeCheckConfig |
setPeriod(String period)
How often, in seconds, the Uptime check is performed.
|
UptimeCheckConfig |
setResourceGroup(ResourceGroup resourceGroup)
The group resource associated with the configuration.
|
UptimeCheckConfig |
setSelectedRegions(List<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(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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCheckerType()
null for nonepublic UptimeCheckConfig setCheckerType(String checkerType)
checkerType - checkerType or null for nonepublic List<ContentMatcher> getContentMatchers()
null for nonepublic UptimeCheckConfig setContentMatchers(List<ContentMatcher> contentMatchers)
contentMatchers - contentMatchers or null for nonepublic String getDisplayName()
null for nonepublic UptimeCheckConfig setDisplayName(String displayName)
displayName - displayName or null for nonepublic HttpCheck getHttpCheck()
null for nonepublic UptimeCheckConfig setHttpCheck(HttpCheck httpCheck)
httpCheck - httpCheck or null for nonepublic List<InternalChecker> getInternalCheckers()
null for nonepublic UptimeCheckConfig setInternalCheckers(List<InternalChecker> internalCheckers)
internalCheckers - internalCheckers or null for nonepublic Boolean getIsInternal()
null for nonepublic UptimeCheckConfig setIsInternal(Boolean isInternal)
isInternal - isInternal or null for nonepublic MonitoredResource getMonitoredResource()
null for nonepublic UptimeCheckConfig setMonitoredResource(MonitoredResource monitoredResource)
monitoredResource - monitoredResource or null for nonepublic String getName()
null for nonepublic UptimeCheckConfig setName(String name)
name - name or null for nonepublic String getPeriod()
null for nonepublic UptimeCheckConfig setPeriod(String period)
period - period or null for nonepublic ResourceGroup getResourceGroup()
null for nonepublic UptimeCheckConfig setResourceGroup(ResourceGroup resourceGroup)
resourceGroup - resourceGroup or null for nonepublic List<String> getSelectedRegions()
null for nonepublic UptimeCheckConfig setSelectedRegions(List<String> selectedRegions)
selectedRegions - selectedRegions or null for nonepublic TcpCheck getTcpCheck()
null for nonepublic UptimeCheckConfig setTcpCheck(TcpCheck tcpCheck)
tcpCheck - tcpCheck or null for nonepublic String getTimeout()
null for nonepublic UptimeCheckConfig setTimeout(String timeout)
timeout - timeout or null for nonepublic UptimeCheckConfig set(String fieldName, Object value)
set in class GenericJsonpublic UptimeCheckConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.