public final class HealthStatus
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 Compute Engine 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 |
|---|
HealthStatus() |
| Modifier and Type | Method and Description |
|---|---|
HealthStatus |
clone() |
java.lang.String |
getHealthState()
Health state of the instance.
|
java.lang.String |
getInstance()
URL of the instance resource.
|
java.lang.String |
getIpAddress()
The IP address represented by this resource.
|
java.lang.Integer |
getPort()
The port on the instance.
|
HealthStatus |
set(java.lang.String fieldName,
java.lang.Object value) |
HealthStatus |
setHealthState(java.lang.String healthState)
Health state of the instance.
|
HealthStatus |
setInstance(java.lang.String instance)
URL of the instance resource.
|
HealthStatus |
setIpAddress(java.lang.String ipAddress)
The IP address represented by this resource.
|
HealthStatus |
setPort(java.lang.Integer port)
The port on the instance.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getHealthState()
null for nonepublic HealthStatus setHealthState(java.lang.String healthState)
healthState - healthState or null for nonepublic java.lang.String getInstance()
null for nonepublic HealthStatus setInstance(java.lang.String instance)
instance - instance or null for nonepublic java.lang.String getIpAddress()
null for nonepublic HealthStatus setIpAddress(java.lang.String ipAddress)
ipAddress - ipAddress or null for nonepublic java.lang.Integer getPort()
null for nonepublic HealthStatus setPort(java.lang.Integer port)
port - port or null for nonepublic HealthStatus set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic HealthStatus clone()
clone in class com.google.api.client.json.GenericJson