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()  | 
Map<String,String> | 
getAnnotations()
Metadata defined as annotations for network endpoint. 
 | 
String | 
getHealthState()
Health state of the instance. 
 | 
String | 
getInstance()
URL of the instance resource. 
 | 
String | 
getIpAddress()
A forwarding rule IP address assigned to this instance. 
 | 
Integer | 
getPort()
The named port of the instance group, not necessarily the port that is health-checked. 
 | 
HealthStatus | 
set(String fieldName,
   Object value)  | 
HealthStatus | 
setAnnotations(Map<String,String> annotations)
Metadata defined as annotations for network endpoint. 
 | 
HealthStatus | 
setHealthState(String healthState)
Health state of the instance. 
 | 
HealthStatus | 
setInstance(String instance)
URL of the instance resource. 
 | 
HealthStatus | 
setIpAddress(String ipAddress)
A forwarding rule IP address assigned to this instance. 
 | 
HealthStatus | 
setPort(Integer port)
The named port of the instance group, not necessarily the port that is health-checked. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Map<String,String> getAnnotations()
null for nonepublic HealthStatus setAnnotations(Map<String,String> annotations)
annotations - annotations or null for nonepublic 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–2020 Google. All rights reserved.