@Generated(value="by GAPIC") @BetaApi public final class HealthCheck extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
HealthCheck.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
Integer |
getCheckIntervalSec()
How often (in seconds) to send a health check.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in 3339 text format.
|
static HealthCheck |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Integer |
getHealthyThreshold()
A so-far unhealthy instance will be marked healthy after this many consecutive successes.
|
Http2HealthCheck |
getHttp2HealthCheck() |
HttpHealthCheck |
getHttpHealthCheck() |
HttpSHealthCheck |
getHttpsHealthCheck() |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
Type of the resource.
|
String |
getName()
Name of the resource.
|
String |
getRegion()
[Output Only] Region where the health check resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
SSLHealthCheck |
getSslHealthCheck() |
TCPHealthCheck |
getTcpHealthCheck() |
Integer |
getTimeoutSec()
How long (in seconds) to wait before claiming failure.
|
String |
getType()
Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
|
Integer |
getUnhealthyThreshold()
A so-far healthy instance will be marked unhealthy after this many consecutive failures.
|
int |
hashCode() |
static HealthCheck.Builder |
newBuilder() |
static HealthCheck.Builder |
newBuilder(HealthCheck prototype) |
HealthCheck.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Integer getCheckIntervalSec()
public String getCreationTimestamp()
public String getDescription()
public Integer getHealthyThreshold()
public Http2HealthCheck getHttp2HealthCheck()
public HttpHealthCheck getHttpHealthCheck()
public HttpSHealthCheck getHttpsHealthCheck()
public String getId()
public String getKind()
public String getName()
public String getRegion()
public String getSelfLink()
public SSLHealthCheck getSslHealthCheck()
public TCPHealthCheck getTcpHealthCheck()
public Integer getTimeoutSec()
public String getType()
public Integer getUnhealthyThreshold()
public static HealthCheck.Builder newBuilder()
public static HealthCheck.Builder newBuilder(HealthCheck prototype)
public HealthCheck.Builder toBuilder()
public static HealthCheck getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.