public final class HealthStatus extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HealthStatus() |
| Modifier and Type | Method and Description |
|---|---|
HealthStatus |
clone() |
String |
getHealthState()
Health state of the instance.
|
String |
getInstance()
URL of the instance resource.
|
String |
getIpAddress()
The IP address represented by this resource.
|
Integer |
getPort()
The port on the instance.
|
HealthStatus |
set(String fieldName,
Object value) |
HealthStatus |
setHealthState(String healthState)
Health state of the instance.
|
HealthStatus |
setInstance(String instance)
URL of the instance resource.
|
HealthStatus |
setIpAddress(String ipAddress)
The IP address represented by this resource.
|
HealthStatus |
setPort(Integer port)
The port on the instance.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getHealthState()
null for nonepublic HealthStatus setHealthState(String healthState)
healthState - healthState or null for nonepublic String getInstance()
null for nonepublic HealthStatus setInstance(String instance)
instance - instance or null for nonepublic String getIpAddress()
null for nonepublic HealthStatus setIpAddress(String ipAddress)
ipAddress - ipAddress or null for nonepublic Integer getPort()
null for nonepublic HealthStatus setPort(Integer port)
port - port or null for nonepublic HealthStatus set(String fieldName, Object value)
set in class GenericJsonpublic HealthStatus clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.