public final class HealthCheck 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 | 
|---|
HealthCheck()  | 
| Modifier and Type | Method and Description | 
|---|---|
HealthCheck | 
clone()  | 
Integer | 
getCheckIntervalSec()
How often (in seconds) to send a health check. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
GRPCHealthCheck | 
getGrpcHealthCheck()  | 
Integer | 
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes. 
 | 
HTTP2HealthCheck | 
getHttp2HealthCheck()  | 
HTTPHealthCheck | 
getHttpHealthCheck()  | 
HTTPSHealthCheck | 
getHttpsHealthCheck()  | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getKind()
Type of the resource. 
 | 
HealthCheckLogConfig | 
getLogConfig()
Configure logging on this health check. 
 | 
String | 
getName()
Name of the resource. 
 | 
String | 
getRegion()
[Output Only] Region where the health check resides. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
SSLHealthCheck | 
getSslHealthCheck()  | 
TCPHealthCheck | 
getTcpHealthCheck()  | 
Integer | 
getTimeoutSec()
How long (in seconds) to wait before claiming failure. 
 | 
String | 
getType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2. 
 | 
UDPHealthCheck | 
getUdpHealthCheck()  | 
Integer | 
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures. 
 | 
HealthCheck | 
set(String fieldName,
   Object value)  | 
HealthCheck | 
setCheckIntervalSec(Integer checkIntervalSec)
How often (in seconds) to send a health check. 
 | 
HealthCheck | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in 3339 text format. 
 | 
HealthCheck | 
setDescription(String description)
An optional description of this resource. 
 | 
HealthCheck | 
setGrpcHealthCheck(GRPCHealthCheck grpcHealthCheck)  | 
HealthCheck | 
setHealthyThreshold(Integer healthyThreshold)
A so-far unhealthy instance will be marked healthy after this many consecutive successes. 
 | 
HealthCheck | 
setHttp2HealthCheck(HTTP2HealthCheck http2HealthCheck)  | 
HealthCheck | 
setHttpHealthCheck(HTTPHealthCheck httpHealthCheck)  | 
HealthCheck | 
setHttpsHealthCheck(HTTPSHealthCheck httpsHealthCheck)  | 
HealthCheck | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
HealthCheck | 
setKind(String kind)
Type of the resource. 
 | 
HealthCheck | 
setLogConfig(HealthCheckLogConfig logConfig)
Configure logging on this health check. 
 | 
HealthCheck | 
setName(String name)
Name of the resource. 
 | 
HealthCheck | 
setRegion(String region)
[Output Only] Region where the health check resides. 
 | 
HealthCheck | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
HealthCheck | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
HealthCheck | 
setSslHealthCheck(SSLHealthCheck sslHealthCheck)  | 
HealthCheck | 
setTcpHealthCheck(TCPHealthCheck tcpHealthCheck)  | 
HealthCheck | 
setTimeoutSec(Integer timeoutSec)
How long (in seconds) to wait before claiming failure. 
 | 
HealthCheck | 
setType(String type)
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2. 
 | 
HealthCheck | 
setUdpHealthCheck(UDPHealthCheck udpHealthCheck)  | 
HealthCheck | 
setUnhealthyThreshold(Integer unhealthyThreshold)
A so-far healthy instance will be marked unhealthy after this many consecutive failures. 
 | 
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 Integer getCheckIntervalSec()
null for nonepublic HealthCheck setCheckIntervalSec(Integer checkIntervalSec)
checkIntervalSec - checkIntervalSec or null for nonepublic String getCreationTimestamp()
null for nonepublic HealthCheck setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic HealthCheck setDescription(String description)
description - description or null for nonepublic GRPCHealthCheck getGrpcHealthCheck()
null for nonepublic HealthCheck setGrpcHealthCheck(GRPCHealthCheck grpcHealthCheck)
grpcHealthCheck - grpcHealthCheck or null for nonepublic Integer getHealthyThreshold()
null for nonepublic HealthCheck setHealthyThreshold(Integer healthyThreshold)
healthyThreshold - healthyThreshold or null for nonepublic HTTP2HealthCheck getHttp2HealthCheck()
null for nonepublic HealthCheck setHttp2HealthCheck(HTTP2HealthCheck http2HealthCheck)
http2HealthCheck - http2HealthCheck or null for nonepublic HTTPHealthCheck getHttpHealthCheck()
null for nonepublic HealthCheck setHttpHealthCheck(HTTPHealthCheck httpHealthCheck)
httpHealthCheck - httpHealthCheck or null for nonepublic HTTPSHealthCheck getHttpsHealthCheck()
null for nonepublic HealthCheck setHttpsHealthCheck(HTTPSHealthCheck httpsHealthCheck)
httpsHealthCheck - httpsHealthCheck or null for nonepublic BigInteger getId()
null for nonepublic HealthCheck setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic HealthCheck setKind(String kind)
kind - kind or null for nonepublic HealthCheckLogConfig getLogConfig()
null for nonepublic HealthCheck setLogConfig(HealthCheckLogConfig logConfig)
logConfig - logConfig or null for nonepublic String getName()
null for nonepublic HealthCheck setName(String name)
name - name or null for nonepublic String getRegion()
null for nonepublic HealthCheck setRegion(String region)
region - region or null for nonepublic String getSelfLink()
null for nonepublic HealthCheck setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic HealthCheck setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic SSLHealthCheck getSslHealthCheck()
null for nonepublic HealthCheck setSslHealthCheck(SSLHealthCheck sslHealthCheck)
sslHealthCheck - sslHealthCheck or null for nonepublic TCPHealthCheck getTcpHealthCheck()
null for nonepublic HealthCheck setTcpHealthCheck(TCPHealthCheck tcpHealthCheck)
tcpHealthCheck - tcpHealthCheck or null for nonepublic Integer getTimeoutSec()
null for nonepublic HealthCheck setTimeoutSec(Integer timeoutSec)
timeoutSec - timeoutSec or null for nonepublic String getType()
null for nonepublic HealthCheck setType(String type)
type - type or null for nonepublic UDPHealthCheck getUdpHealthCheck()
null for nonepublic HealthCheck setUdpHealthCheck(UDPHealthCheck udpHealthCheck)
udpHealthCheck - udpHealthCheck or null for nonepublic Integer getUnhealthyThreshold()
null for nonepublic HealthCheck setUnhealthyThreshold(Integer unhealthyThreshold)
unhealthyThreshold - unhealthyThreshold or null for nonepublic HealthCheck set(String fieldName, Object value)
set in class GenericJsonpublic HealthCheck clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.