public final class HttpHealthCheck 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: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
HttpHealthCheck() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
String |
getCreationTimestamp()
Creation timestamp in RFC3339 text format (output only).
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
Integer |
getHealthyThreshold()
A so-far unhealthy VM will be marked healthy after this many consecutive successes.
|
String |
getHost()
The host name of the HTTP health check request.
|
com.google.common.primitives.UnsignedLong |
getId()
Unique identifier for the resource; defined by the server (output only).
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
Integer |
getPort()
The TCP port number for the HTTP health check request.
|
String |
getRequestPath()
The request path of the HTTP health check request.
|
String |
getSelfLink()
Server defined URL for the resource (output only).
|
Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
Integer |
getUnhealthyThreshold()
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
|
HttpHealthCheck |
setCheckIntervalSec(Integer checkIntervalSec)
How often (in seconds) to send a health check.
|
HttpHealthCheck |
setCreationTimestamp(String creationTimestamp)
Creation timestamp in RFC3339 text format (output only).
|
HttpHealthCheck |
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
HttpHealthCheck |
setHealthyThreshold(Integer healthyThreshold)
A so-far unhealthy VM will be marked healthy after this many consecutive successes.
|
HttpHealthCheck |
setHost(String host)
The host name of the HTTP health check request.
|
HttpHealthCheck |
setId(com.google.common.primitives.UnsignedLong id)
Unique identifier for the resource; defined by the server (output only).
|
HttpHealthCheck |
setKind(String kind)
Type of the resource.
|
HttpHealthCheck |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
HttpHealthCheck |
setPort(Integer port)
The TCP port number for the HTTP health check request.
|
HttpHealthCheck |
setRequestPath(String requestPath)
The request path of the HTTP health check request.
|
HttpHealthCheck |
setSelfLink(String selfLink)
Server defined URL for the resource (output only).
|
HttpHealthCheck |
setTimeoutSec(Integer timeoutSec)
How long (in seconds) to wait before claiming failure.
|
HttpHealthCheck |
setUnhealthyThreshold(Integer unhealthyThreshold)
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getCheckIntervalSec()
null
.public HttpHealthCheck setCheckIntervalSec(Integer checkIntervalSec)
null
.public String getCreationTimestamp()
null
.public HttpHealthCheck setCreationTimestamp(String creationTimestamp)
null
.public String getDescription()
null
.public HttpHealthCheck setDescription(String description)
null
.public Integer getHealthyThreshold()
null
.public HttpHealthCheck setHealthyThreshold(Integer healthyThreshold)
null
.public String getHost()
null
.public HttpHealthCheck setHost(String host)
null
.public com.google.common.primitives.UnsignedLong getId()
null
.public HttpHealthCheck setId(com.google.common.primitives.UnsignedLong id)
null
.public String getKind()
null
.public HttpHealthCheck setKind(String kind)
null
.public String getName()
null
.public HttpHealthCheck setName(String name)
null
.public Integer getPort()
null
.public HttpHealthCheck setPort(Integer port)
null
.public String getRequestPath()
null
.public HttpHealthCheck setRequestPath(String requestPath)
null
.public String getSelfLink()
null
.public HttpHealthCheck setSelfLink(String selfLink)
null
.public Integer getTimeoutSec()
null
.public HttpHealthCheck setTimeoutSec(Integer timeoutSec)
null
.public Integer getUnhealthyThreshold()
null
.public HttpHealthCheck setUnhealthyThreshold(Integer unhealthyThreshold)
null
.