public final class HttpHealthCheck
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
HttpHealthCheck() |
Modifier and Type | Method and Description |
---|---|
HttpHealthCheck |
clone() |
java.lang.Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
java.lang.String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
java.lang.String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
java.lang.Integer |
getHealthyThreshold()
A so-far unhealthy VM will be marked healthy after this many consecutive successes.
|
java.lang.String |
getHost()
The value of the host header in the HTTP health check request.
|
java.math.BigInteger |
getId()
Unique identifier for the resource; defined by the server (output only).
|
java.lang.String |
getKind()
Type of the resource.
|
java.lang.String |
getName()
Name of the resource; provided by the client when the resource is created.
|
java.lang.Integer |
getPort()
The TCP port number for the HTTP health check request.
|
java.lang.String |
getRequestPath()
The request path of the HTTP health check request.
|
java.lang.String |
getSelfLink()
Server defined URL for the resource (output only).
|
java.lang.Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
java.lang.Integer |
getUnhealthyThreshold()
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
|
HttpHealthCheck |
set(java.lang.String fieldName,
java.lang.Object value) |
HttpHealthCheck |
setCheckIntervalSec(java.lang.Integer checkIntervalSec)
How often (in seconds) to send a health check.
|
HttpHealthCheck |
setCreationTimestamp(java.lang.String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
HttpHealthCheck |
setDescription(java.lang.String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
HttpHealthCheck |
setHealthyThreshold(java.lang.Integer healthyThreshold)
A so-far unhealthy VM will be marked healthy after this many consecutive successes.
|
HttpHealthCheck |
setHost(java.lang.String host)
The value of the host header in the HTTP health check request.
|
HttpHealthCheck |
setId(java.math.BigInteger id)
Unique identifier for the resource; defined by the server (output only).
|
HttpHealthCheck |
setKind(java.lang.String kind)
Type of the resource.
|
HttpHealthCheck |
setName(java.lang.String name)
Name of the resource; provided by the client when the resource is created.
|
HttpHealthCheck |
setPort(java.lang.Integer port)
The TCP port number for the HTTP health check request.
|
HttpHealthCheck |
setRequestPath(java.lang.String requestPath)
The request path of the HTTP health check request.
|
HttpHealthCheck |
setSelfLink(java.lang.String selfLink)
Server defined URL for the resource (output only).
|
HttpHealthCheck |
setTimeoutSec(java.lang.Integer timeoutSec)
How long (in seconds) to wait before claiming failure.
|
HttpHealthCheck |
setUnhealthyThreshold(java.lang.Integer unhealthyThreshold)
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Integer getCheckIntervalSec()
null
for nonepublic HttpHealthCheck setCheckIntervalSec(java.lang.Integer checkIntervalSec)
checkIntervalSec
- checkIntervalSec or null
for nonepublic java.lang.String getCreationTimestamp()
null
for nonepublic HttpHealthCheck setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic java.lang.String getDescription()
null
for nonepublic HttpHealthCheck setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.Integer getHealthyThreshold()
null
for nonepublic HttpHealthCheck setHealthyThreshold(java.lang.Integer healthyThreshold)
healthyThreshold
- healthyThreshold or null
for nonepublic java.lang.String getHost()
null
for nonepublic HttpHealthCheck setHost(java.lang.String host)
host
- host or null
for nonepublic java.math.BigInteger getId()
null
for nonepublic HttpHealthCheck setId(java.math.BigInteger id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic HttpHealthCheck setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getName()
null
for nonepublic HttpHealthCheck setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Integer getPort()
null
for nonepublic HttpHealthCheck setPort(java.lang.Integer port)
port
- port or null
for nonepublic java.lang.String getRequestPath()
null
for nonepublic HttpHealthCheck setRequestPath(java.lang.String requestPath)
requestPath
- requestPath or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic HttpHealthCheck setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.Integer getTimeoutSec()
null
for nonepublic HttpHealthCheck setTimeoutSec(java.lang.Integer timeoutSec)
timeoutSec
- timeoutSec or null
for nonepublic java.lang.Integer getUnhealthyThreshold()
null
for nonepublic HttpHealthCheck setUnhealthyThreshold(java.lang.Integer unhealthyThreshold)
unhealthyThreshold
- unhealthyThreshold or null
for nonepublic HttpHealthCheck set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public HttpHealthCheck clone()
clone
in class com.google.api.client.json.GenericJson