public static class HttpHealthCheck2.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpHealthCheck2 |
build() |
HttpHealthCheck2.Builder |
clone() |
Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
Integer |
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
String |
getHost()
The value of the host header in the HTTP health check request.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
Name of the resource.
|
Integer |
getPort()
The TCP port number for the HTTP health check request.
|
String |
getRequestPath()
The request path of the HTTP health check request.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
Integer |
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
HttpHealthCheck2.Builder |
mergeFrom(HttpHealthCheck2 other) |
HttpHealthCheck2.Builder |
setCheckIntervalSec(Integer checkIntervalSec)
How often (in seconds) to send a health check.
|
HttpHealthCheck2.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
HttpHealthCheck2.Builder |
setDescription(String description)
An optional description of this resource.
|
HttpHealthCheck2.Builder |
setHealthyThreshold(Integer healthyThreshold)
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
HttpHealthCheck2.Builder |
setHost(String host)
The value of the host header in the HTTP health check request.
|
HttpHealthCheck2.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
HttpHealthCheck2.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
HttpHealthCheck2.Builder |
setName(String name)
Name of the resource.
|
HttpHealthCheck2.Builder |
setPort(Integer port)
The TCP port number for the HTTP health check request.
|
HttpHealthCheck2.Builder |
setRequestPath(String requestPath)
The request path of the HTTP health check request.
|
HttpHealthCheck2.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
HttpHealthCheck2.Builder |
setTimeoutSec(Integer timeoutSec)
How long (in seconds) to wait before claiming failure.
|
HttpHealthCheck2.Builder |
setUnhealthyThreshold(Integer unhealthyThreshold)
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
public HttpHealthCheck2.Builder mergeFrom(HttpHealthCheck2 other)
public Integer getCheckIntervalSec()
public HttpHealthCheck2.Builder setCheckIntervalSec(Integer checkIntervalSec)
public String getCreationTimestamp()
public HttpHealthCheck2.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public HttpHealthCheck2.Builder setDescription(String description)
public Integer getHealthyThreshold()
public HttpHealthCheck2.Builder setHealthyThreshold(Integer healthyThreshold)
public String getHost()
public HttpHealthCheck2.Builder setHost(String host)
public String getId()
public HttpHealthCheck2.Builder setId(String id)
public String getKind()
public HttpHealthCheck2.Builder setKind(String kind)
public String getName()
public HttpHealthCheck2.Builder setName(String name)
public Integer getPort()
public HttpHealthCheck2.Builder setPort(Integer port)
public String getRequestPath()
public HttpHealthCheck2.Builder setRequestPath(String requestPath)
public String getSelfLink()
public HttpHealthCheck2.Builder setSelfLink(String selfLink)
public Integer getTimeoutSec()
public HttpHealthCheck2.Builder setTimeoutSec(Integer timeoutSec)
public Integer getUnhealthyThreshold()
public HttpHealthCheck2.Builder setUnhealthyThreshold(Integer unhealthyThreshold)
public HttpHealthCheck2 build()
public HttpHealthCheck2.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.