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 | getForwardingRule()URL of the forwarding rule associated with the health status of the instance. | 
| String | getForwardingRuleIp()A forwarding rule IP address assigned to this instance. | 
| String | getHealthState()Health state of the instance. | 
| String | getInstance()URL of the instance resource. | 
| String | getIpAddress()For target pool based Network Load Balancing, it indicates the forwarding rule's IP address
 assigned to this instance. | 
| Integer | getPort()The named port of the instance group, not necessarily the port that is health-checked. | 
| String | getWeight() | 
| String | getWeightError() | 
| HealthStatus | set(String fieldName,
   Object value) | 
| HealthStatus | setAnnotations(Map<String,String> annotations)Metadata defined as annotations for network endpoint. | 
| HealthStatus | setForwardingRule(String forwardingRule)URL of the forwarding rule associated with the health status of the instance. | 
| HealthStatus | setForwardingRuleIp(String forwardingRuleIp)A forwarding rule IP address assigned to this instance. | 
| HealthStatus | setHealthState(String healthState)Health state of the instance. | 
| HealthStatus | setInstance(String instance)URL of the instance resource. | 
| HealthStatus | setIpAddress(String ipAddress)For target pool based Network Load Balancing, it indicates the forwarding rule's 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. | 
| HealthStatus | setWeight(String weight) | 
| HealthStatus | setWeightError(String weightError) | 
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 getForwardingRule()
null for nonepublic HealthStatus setForwardingRule(String forwardingRule)
forwardingRule - forwardingRule or null for nonepublic String getForwardingRuleIp()
null for nonepublic HealthStatus setForwardingRuleIp(String forwardingRuleIp)
forwardingRuleIp - forwardingRuleIp 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 String getWeight()
null for nonepublic HealthStatus setWeight(String weight)
weight - weight or null for nonepublic String getWeightError()
null for nonepublic HealthStatus setWeightError(String weightError)
weightError - weightError or null for nonepublic HealthStatus set(String fieldName, Object value)
set in class GenericJsonpublic HealthStatus clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.