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.Flags
AbstractMap.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public HealthStatus clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.