public final class ReadinessCheck
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 App Engine Admin 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 |
---|
ReadinessCheck() |
Modifier and Type | Method and Description |
---|---|
ReadinessCheck |
clone() |
java.lang.String |
getAppStartTimeout()
A maximum time limit on application initialization, measured from moment the application
successfully replies to a healthcheck until it is ready to serve traffic.
|
java.lang.String |
getCheckInterval()
Interval between health checks.
|
java.lang.Long |
getFailureThreshold()
Number of consecutive failed checks required before removing traffic.
|
java.lang.String |
getHost()
Host header to send when performing a HTTP Readiness check.
|
java.lang.String |
getPath()
The request path.
|
java.lang.Long |
getSuccessThreshold()
Number of consecutive successful checks required before receiving traffic.
|
java.lang.String |
getTimeout()
Time before the check is considered failed.
|
ReadinessCheck |
set(java.lang.String fieldName,
java.lang.Object value) |
ReadinessCheck |
setAppStartTimeout(java.lang.String appStartTimeout)
A maximum time limit on application initialization, measured from moment the application
successfully replies to a healthcheck until it is ready to serve traffic.
|
ReadinessCheck |
setCheckInterval(java.lang.String checkInterval)
Interval between health checks.
|
ReadinessCheck |
setFailureThreshold(java.lang.Long failureThreshold)
Number of consecutive failed checks required before removing traffic.
|
ReadinessCheck |
setHost(java.lang.String host)
Host header to send when performing a HTTP Readiness check.
|
ReadinessCheck |
setPath(java.lang.String path)
The request path.
|
ReadinessCheck |
setSuccessThreshold(java.lang.Long successThreshold)
Number of consecutive successful checks required before receiving traffic.
|
ReadinessCheck |
setTimeout(java.lang.String timeout)
Time before the check is considered failed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAppStartTimeout()
null
for nonepublic ReadinessCheck setAppStartTimeout(java.lang.String appStartTimeout)
appStartTimeout
- appStartTimeout or null
for nonepublic java.lang.String getCheckInterval()
null
for nonepublic ReadinessCheck setCheckInterval(java.lang.String checkInterval)
checkInterval
- checkInterval or null
for nonepublic java.lang.Long getFailureThreshold()
null
for nonepublic ReadinessCheck setFailureThreshold(java.lang.Long failureThreshold)
failureThreshold
- failureThreshold or null
for nonepublic java.lang.String getHost()
null
for nonepublic ReadinessCheck setHost(java.lang.String host)
host
- host or null
for nonepublic java.lang.String getPath()
null
for nonepublic ReadinessCheck setPath(java.lang.String path)
path
- path or null
for nonepublic java.lang.Long getSuccessThreshold()
null
for nonepublic ReadinessCheck setSuccessThreshold(java.lang.Long successThreshold)
successThreshold
- successThreshold or null
for nonepublic java.lang.String getTimeout()
null
for nonepublic ReadinessCheck setTimeout(java.lang.String timeout)
timeout
- timeout or null
for nonepublic ReadinessCheck set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ReadinessCheck clone()
clone
in class com.google.api.client.json.GenericJson