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: 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 | 
|---|
| HTTPHealthCheck() | 
| Modifier and Type | Method and Description | 
|---|---|
| HTTPHealthCheck | clone() | 
| String | getHost()The value of the host header in the HTTP health check request. | 
| Integer | getPort()The TCP port number for the health check request. | 
| String | getPortName()Port name as defined in InstanceGroup#NamedPort#name. | 
| String | getPortSpecification()Specifies how port is selected for health checking, can be one of following values:
 USE_FIXED_PORT: The port number in port is used for health checking. | 
| String | getProxyHeader()Specifies the type of proxy header to append before sending data to the backend, either NONE or
 PROXY_V1. | 
| String | getRequestPath()The request path of the HTTP health check request. | 
| String | getResponse()The string to match anywhere in the first 1024 bytes of the response body. | 
| HTTPHealthCheck | set(String fieldName,
   Object value) | 
| HTTPHealthCheck | setHost(String host)The value of the host header in the HTTP health check request. | 
| HTTPHealthCheck | setPort(Integer port)The TCP port number for the health check request. | 
| HTTPHealthCheck | setPortName(String portName)Port name as defined in InstanceGroup#NamedPort#name. | 
| HTTPHealthCheck | setPortSpecification(String portSpecification)Specifies how port is selected for health checking, can be one of following values:
 USE_FIXED_PORT: The port number in port is used for health checking. | 
| HTTPHealthCheck | setProxyHeader(String proxyHeader)Specifies the type of proxy header to append before sending data to the backend, either NONE or
 PROXY_V1. | 
| HTTPHealthCheck | setRequestPath(String requestPath)The request path of the HTTP health check request. | 
| HTTPHealthCheck | setResponse(String response)The string to match anywhere in the first 1024 bytes of the response body. | 
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 String getHost()
null for nonepublic HTTPHealthCheck setHost(String host)
host - host or null for nonepublic Integer getPort()
null for nonepublic HTTPHealthCheck setPort(Integer port)
port - port or null for nonepublic String getPortName()
null for nonepublic HTTPHealthCheck setPortName(String portName)
portName - portName or null for nonepublic String getPortSpecification()
null for nonepublic HTTPHealthCheck setPortSpecification(String portSpecification)
portSpecification - portSpecification or null for nonepublic String getProxyHeader()
null for nonepublic HTTPHealthCheck setProxyHeader(String proxyHeader)
proxyHeader - proxyHeader or null for nonepublic String getRequestPath()
null for nonepublic HTTPHealthCheck setRequestPath(String requestPath)
requestPath - requestPath or null for nonepublic String getResponse()
null for nonepublic HTTPHealthCheck setResponse(String response)
response - response or null for nonepublic HTTPHealthCheck set(String fieldName, Object value)
set in class GenericJsonpublic HTTPHealthCheck clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.