public final class HttpsHealthCheck
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 Compute Engine 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 |
|---|
HttpsHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
HttpsHealthCheck |
clone() |
java.lang.Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.lang.Integer |
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
java.lang.String |
getHost()
The value of the host header in the HTTPS health check request.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.Integer |
getPort()
The TCP port number for the HTTPS health check request.
|
java.lang.String |
getRequestPath()
The request path of the HTTPS health check request.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
java.lang.Integer |
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
HttpsHealthCheck |
set(java.lang.String fieldName,
java.lang.Object value) |
HttpsHealthCheck |
setCheckIntervalSec(java.lang.Integer checkIntervalSec)
How often (in seconds) to send a health check.
|
HttpsHealthCheck |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
HttpsHealthCheck |
setDescription(java.lang.String description)
An optional description of this resource.
|
HttpsHealthCheck |
setHealthyThreshold(java.lang.Integer healthyThreshold)
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HttpsHealthCheck |
setHost(java.lang.String host)
The value of the host header in the HTTPS health check request.
|
HttpsHealthCheck |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
HttpsHealthCheck |
setKind(java.lang.String kind)
Type of the resource.
|
HttpsHealthCheck |
setName(java.lang.String name)
Name of the resource.
|
HttpsHealthCheck |
setPort(java.lang.Integer port)
The TCP port number for the HTTPS health check request.
|
HttpsHealthCheck |
setRequestPath(java.lang.String requestPath)
The request path of the HTTPS health check request.
|
HttpsHealthCheck |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
HttpsHealthCheck |
setTimeoutSec(java.lang.Integer timeoutSec)
How long (in seconds) to wait before claiming failure.
|
HttpsHealthCheck |
setUnhealthyThreshold(java.lang.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, valuespublic java.lang.Integer getCheckIntervalSec()
null for nonepublic HttpsHealthCheck setCheckIntervalSec(java.lang.Integer checkIntervalSec)
checkIntervalSec - checkIntervalSec or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic HttpsHealthCheck setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic HttpsHealthCheck setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.Integer getHealthyThreshold()
null for nonepublic HttpsHealthCheck setHealthyThreshold(java.lang.Integer healthyThreshold)
healthyThreshold - healthyThreshold or null for nonepublic java.lang.String getHost()
null for nonepublic HttpsHealthCheck setHost(java.lang.String host)
host - host or null for nonepublic java.math.BigInteger getId()
null for nonepublic HttpsHealthCheck setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic HttpsHealthCheck setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic HttpsHealthCheck setName(java.lang.String name)
name - name or null for nonepublic java.lang.Integer getPort()
null for nonepublic HttpsHealthCheck setPort(java.lang.Integer port)
port - port or null for nonepublic java.lang.String getRequestPath()
null for nonepublic HttpsHealthCheck setRequestPath(java.lang.String requestPath)
requestPath - requestPath or null for nonepublic java.lang.String getSelfLink()
null for nonepublic HttpsHealthCheck setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.Integer getTimeoutSec()
null for nonepublic HttpsHealthCheck setTimeoutSec(java.lang.Integer timeoutSec)
timeoutSec - timeoutSec or null for nonepublic java.lang.Integer getUnhealthyThreshold()
null for nonepublic HttpsHealthCheck setUnhealthyThreshold(java.lang.Integer unhealthyThreshold)
unhealthyThreshold - unhealthyThreshold or null for nonepublic HttpsHealthCheck set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic HttpsHealthCheck clone()
clone in class com.google.api.client.json.GenericJson