public final class SSLHealthCheck
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 |
---|
SSLHealthCheck() |
Modifier and Type | Method and Description |
---|---|
SSLHealthCheck |
clone() |
java.lang.Integer |
getPort()
The TCP port number for the health check request.
|
java.lang.String |
getPortName()
Port name as defined in InstanceGroup#NamedPort#name.
|
java.lang.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.
|
java.lang.String |
getProxyHeader()
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
|
java.lang.String |
getRequest()
The application data to send once the SSL connection has been established (default value is
empty).
|
java.lang.String |
getResponse()
The bytes to match against the beginning of the response data.
|
SSLHealthCheck |
set(java.lang.String fieldName,
java.lang.Object value) |
SSLHealthCheck |
setPort(java.lang.Integer port)
The TCP port number for the health check request.
|
SSLHealthCheck |
setPortName(java.lang.String portName)
Port name as defined in InstanceGroup#NamedPort#name.
|
SSLHealthCheck |
setPortSpecification(java.lang.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.
|
SSLHealthCheck |
setProxyHeader(java.lang.String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE or
PROXY_V1.
|
SSLHealthCheck |
setRequest(java.lang.String request)
The application data to send once the SSL connection has been established (default value is
empty).
|
SSLHealthCheck |
setResponse(java.lang.String response)
The bytes to match against the beginning of the response data.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getPort()
null
for nonepublic SSLHealthCheck setPort(java.lang.Integer port)
port
- port or null
for nonepublic java.lang.String getPortName()
null
for nonepublic SSLHealthCheck setPortName(java.lang.String portName)
portName
- portName or null
for nonepublic java.lang.String getPortSpecification()
null
for nonepublic SSLHealthCheck setPortSpecification(java.lang.String portSpecification)
portSpecification
- portSpecification or null
for nonepublic java.lang.String getProxyHeader()
null
for nonepublic SSLHealthCheck setProxyHeader(java.lang.String proxyHeader)
proxyHeader
- proxyHeader or null
for nonepublic java.lang.String getRequest()
null
for nonepublic SSLHealthCheck setRequest(java.lang.String request)
request
- request or null
for nonepublic java.lang.String getResponse()
null
for nonepublic SSLHealthCheck setResponse(java.lang.String response)
response
- response or null
for nonepublic SSLHealthCheck set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SSLHealthCheck clone()
clone
in class com.google.api.client.json.GenericJson