public final class HealthCheck
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 App Engine Admin 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
HealthCheck |
clone() |
String |
getCheckInterval()
Interval between health checks.
|
Boolean |
getDisableHealthCheck()
Whether to explicitly disable health checks for this instance.
|
Long |
getHealthyThreshold()
Number of consecutive successful health checks required before receiving traffic.
|
String |
getHost()
Host header to send when performing an HTTP health check.
|
Long |
getRestartThreshold()
Number of consecutive failed health checks required before an instance is restarted.
|
String |
getTimeout()
Time before the health check is considered failed.
|
Long |
getUnhealthyThreshold()
Number of consecutive failed health checks required before removing traffic.
|
HealthCheck |
set(String fieldName,
Object value) |
HealthCheck |
setCheckInterval(String checkInterval)
Interval between health checks.
|
HealthCheck |
setDisableHealthCheck(Boolean disableHealthCheck)
Whether to explicitly disable health checks for this instance.
|
HealthCheck |
setHealthyThreshold(Long healthyThreshold)
Number of consecutive successful health checks required before receiving traffic.
|
HealthCheck |
setHost(String host)
Host header to send when performing an HTTP health check.
|
HealthCheck |
setRestartThreshold(Long restartThreshold)
Number of consecutive failed health checks required before an instance is restarted.
|
HealthCheck |
setTimeout(String timeout)
Time before the health check is considered failed.
|
HealthCheck |
setUnhealthyThreshold(Long unhealthyThreshold)
Number of consecutive failed health checks required before removing traffic.
|
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 getCheckInterval()
null for nonepublic HealthCheck setCheckInterval(String checkInterval)
checkInterval - checkInterval or null for nonepublic Boolean getDisableHealthCheck()
null for nonepublic HealthCheck setDisableHealthCheck(Boolean disableHealthCheck)
disableHealthCheck - disableHealthCheck or null for nonepublic Long getHealthyThreshold()
null for nonepublic HealthCheck setHealthyThreshold(Long healthyThreshold)
healthyThreshold - healthyThreshold or null for nonepublic String getHost()
null for nonepublic HealthCheck setHost(String host)
host - host or null for nonepublic Long getRestartThreshold()
null for nonepublic HealthCheck setRestartThreshold(Long restartThreshold)
restartThreshold - restartThreshold or null for nonepublic String getTimeout()
null for nonepublic HealthCheck setTimeout(String timeout)
timeout - timeout or null for nonepublic Long getUnhealthyThreshold()
null for nonepublic HealthCheck setUnhealthyThreshold(Long unhealthyThreshold)
unhealthyThreshold - unhealthyThreshold or null for nonepublic HealthCheck set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HealthCheck clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.