public static class HttpSHealthCheck.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpSHealthCheck |
build() |
HttpSHealthCheck.Builder |
clone() |
String |
getHost()
The value of the host header in the HTTPS 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 HTTPS health check request.
|
String |
getResponse()
The string to match anywhere in the first 1024 bytes of the response body.
|
HttpSHealthCheck.Builder |
mergeFrom(HttpSHealthCheck other) |
HttpSHealthCheck.Builder |
setHost(String host)
The value of the host header in the HTTPS health check request.
|
HttpSHealthCheck.Builder |
setPort(Integer port)
The TCP port number for the health check request.
|
HttpSHealthCheck.Builder |
setPortName(String portName)
Port name as defined in InstanceGroup#NamedPort#name.
|
HttpSHealthCheck.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.
|
HttpSHealthCheck.Builder |
setProxyHeader(String proxyHeader)
Specifies the type of proxy header to append before sending data to the backend, either NONE
or PROXY_V1.
|
HttpSHealthCheck.Builder |
setRequestPath(String requestPath)
The request path of the HTTPS health check request.
|
HttpSHealthCheck.Builder |
setResponse(String response)
The string to match anywhere in the first 1024 bytes of the response body.
|
public HttpSHealthCheck.Builder mergeFrom(HttpSHealthCheck other)
public String getHost()
public HttpSHealthCheck.Builder setHost(String host)
public Integer getPort()
public HttpSHealthCheck.Builder setPort(Integer port)
public String getPortName()
public HttpSHealthCheck.Builder setPortName(String portName)
public String getPortSpecification()
If not specified, HTTPS health check follows behavior specified in port and portName fields.
public HttpSHealthCheck.Builder setPortSpecification(String portSpecification)
If not specified, HTTPS health check follows behavior specified in port and portName fields.
public String getProxyHeader()
public HttpSHealthCheck.Builder setProxyHeader(String proxyHeader)
public String getRequestPath()
public HttpSHealthCheck.Builder setRequestPath(String requestPath)
public String getResponse()
public HttpSHealthCheck.Builder setResponse(String response)
public HttpSHealthCheck build()
public HttpSHealthCheck.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.