public final class HttpsHealthCheck 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 Compute Engine 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 |
|---|
HttpsHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
HttpsHealthCheck |
clone() |
Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
Integer |
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
String |
getHost()
The value of the host header in the HTTPS health check request.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource.
|
Integer |
getPort()
The TCP port number for the HTTPS health check request.
|
String |
getRequestPath()
The request path of the HTTPS health check request.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
Integer |
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
HttpsHealthCheck |
set(String fieldName,
Object value) |
HttpsHealthCheck |
setCheckIntervalSec(Integer checkIntervalSec)
How often (in seconds) to send a health check.
|
HttpsHealthCheck |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
HttpsHealthCheck |
setDescription(String description)
An optional description of this resource.
|
HttpsHealthCheck |
setHealthyThreshold(Integer healthyThreshold)
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HttpsHealthCheck |
setHost(String host)
The value of the host header in the HTTPS health check request.
|
HttpsHealthCheck |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
HttpsHealthCheck |
setKind(String kind)
Type of the resource.
|
HttpsHealthCheck |
setName(String name)
Name of the resource.
|
HttpsHealthCheck |
setPort(Integer port)
The TCP port number for the HTTPS health check request.
|
HttpsHealthCheck |
setRequestPath(String requestPath)
The request path of the HTTPS health check request.
|
HttpsHealthCheck |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
HttpsHealthCheck |
setTimeoutSec(Integer timeoutSec)
How long (in seconds) to wait before claiming failure.
|
HttpsHealthCheck |
setUnhealthyThreshold(Integer unhealthyThreshold)
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getCheckIntervalSec()
null for nonepublic HttpsHealthCheck setCheckIntervalSec(Integer checkIntervalSec)
checkIntervalSec - checkIntervalSec or null for nonepublic String getCreationTimestamp()
null for nonepublic HttpsHealthCheck setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic HttpsHealthCheck setDescription(String description)
description - description or null for nonepublic Integer getHealthyThreshold()
null for nonepublic HttpsHealthCheck setHealthyThreshold(Integer healthyThreshold)
healthyThreshold - healthyThreshold or null for nonepublic String getHost()
null for nonepublic HttpsHealthCheck setHost(String host)
host - host or null for nonepublic BigInteger getId()
null for nonepublic HttpsHealthCheck setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic HttpsHealthCheck setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic HttpsHealthCheck setName(String name)
name - name or null for nonepublic Integer getPort()
null for nonepublic HttpsHealthCheck setPort(Integer port)
port - port or null for nonepublic String getRequestPath()
null for nonepublic HttpsHealthCheck setRequestPath(String requestPath)
requestPath - requestPath or null for nonepublic String getSelfLink()
null for nonepublic HttpsHealthCheck setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Integer getTimeoutSec()
null for nonepublic HttpsHealthCheck setTimeoutSec(Integer timeoutSec)
timeoutSec - timeoutSec or null for nonepublic Integer getUnhealthyThreshold()
null for nonepublic HttpsHealthCheck setUnhealthyThreshold(Integer unhealthyThreshold)
unhealthyThreshold - unhealthyThreshold or null for nonepublic HttpsHealthCheck set(String fieldName, Object value)
set in class GenericJsonpublic HttpsHealthCheck clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.