public final class HttpCheck
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 Stackdriver Monitoring 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 |
|---|
HttpCheck() |
| Modifier and Type | Method and Description |
|---|---|
HttpCheck |
clone() |
BasicAuthentication |
getAuthInfo()
The authentication information.
|
java.util.Map<java.lang.String,java.lang.String> |
getHeaders()
The list of headers to send as part of the uptime check request.
|
java.lang.Boolean |
getMaskHeaders()
Boolean specifiying whether to encrypt the header information.
|
java.lang.String |
getPath()
The path to the page to run the check against.
|
java.lang.Integer |
getPort()
The port to the page to run the check against.
|
java.lang.Boolean |
getUseSsl()
If true, use HTTPS instead of HTTP to run the check.
|
HttpCheck |
set(java.lang.String fieldName,
java.lang.Object value) |
HttpCheck |
setAuthInfo(BasicAuthentication authInfo)
The authentication information.
|
HttpCheck |
setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
The list of headers to send as part of the uptime check request.
|
HttpCheck |
setMaskHeaders(java.lang.Boolean maskHeaders)
Boolean specifiying whether to encrypt the header information.
|
HttpCheck |
setPath(java.lang.String path)
The path to the page to run the check against.
|
HttpCheck |
setPort(java.lang.Integer port)
The port to the page to run the check against.
|
HttpCheck |
setUseSsl(java.lang.Boolean useSsl)
If true, use HTTPS instead of HTTP to run the check.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic BasicAuthentication getAuthInfo()
null for nonepublic HttpCheck setAuthInfo(BasicAuthentication authInfo)
authInfo - authInfo or null for nonepublic java.util.Map<java.lang.String,java.lang.String> getHeaders()
null for nonepublic HttpCheck setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
headers - headers or null for nonepublic java.lang.Boolean getMaskHeaders()
null for nonepublic HttpCheck setMaskHeaders(java.lang.Boolean maskHeaders)
maskHeaders - maskHeaders or null for nonepublic java.lang.String getPath()
null for nonepublic HttpCheck setPath(java.lang.String path)
path - path or null for nonepublic java.lang.Integer getPort()
null for nonepublic HttpCheck setPort(java.lang.Integer port)
port - port or null for nonepublic java.lang.Boolean getUseSsl()
null for nonepublic HttpCheck setUseSsl(java.lang.Boolean useSsl)
useSsl - useSsl or null for nonepublic HttpCheck set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic HttpCheck clone()
clone in class com.google.api.client.json.GenericJson