public static class SSLHealthCheck.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SSLHealthCheck |
build() |
SSLHealthCheck.Builder |
clone() |
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 |
getRequest()
The application data to send once the SSL connection has been established (default value is
empty).
|
String |
getResponse()
The bytes to match against the beginning of the response data.
|
SSLHealthCheck.Builder |
mergeFrom(SSLHealthCheck other) |
SSLHealthCheck.Builder |
setPort(Integer port)
The TCP port number for the health check request.
|
SSLHealthCheck.Builder |
setPortName(String portName)
Port name as defined in InstanceGroup#NamedPort#name.
|
SSLHealthCheck.Builder |
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.
|
SSLHealthCheck.Builder |
setProxyHeader(String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE
or PROXY_V1.
|
SSLHealthCheck.Builder |
setRequest(String request)
The application data to send once the SSL connection has been established (default value is
empty).
|
SSLHealthCheck.Builder |
setResponse(String response)
The bytes to match against the beginning of the response data.
|
public SSLHealthCheck.Builder mergeFrom(SSLHealthCheck other)
public Integer getPort()
public SSLHealthCheck.Builder setPort(Integer port)
public String getPortName()
public SSLHealthCheck.Builder setPortName(String portName)
public String getPortSpecification()
If not specified, SSL health check follows behavior specified in port and portName fields.
public SSLHealthCheck.Builder setPortSpecification(String portSpecification)
If not specified, SSL health check follows behavior specified in port and portName fields.
public String getProxyHeader()
public SSLHealthCheck.Builder setProxyHeader(String proxyHeader)
public String getRequest()
public SSLHealthCheck.Builder setRequest(String request)
public String getResponse()
public SSLHealthCheck.Builder setResponse(String response)
public SSLHealthCheck build()
public SSLHealthCheck.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.