target.apidocs.com.google.api.services.compute.model.HealthStatus.html Maven / Gradle / Ivy
HealthStatus (Compute Engine API v1-rev20200104-1.30.8)
com.google.api.services.compute.model
Class HealthStatus
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.HealthStatus
-
public final class HealthStatus
extends GenericJson
Model definition for HealthStatus.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
HealthStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getHealthState
public String getHealthState()
Health state of the instance.
- Returns:
- value or
null for none
-
setHealthState
public HealthStatus setHealthState(String healthState)
Health state of the instance.
- Parameters:
healthState - healthState or null for none
-
getInstance
public String getInstance()
URL of the instance resource.
- Returns:
- value or
null for none
-
setInstance
public HealthStatus setInstance(String instance)
URL of the instance resource.
- Parameters:
instance - instance or null for none
-
getIpAddress
public String getIpAddress()
The IP address represented by this resource.
- Returns:
- value or
null for none
-
setIpAddress
public HealthStatus setIpAddress(String ipAddress)
The IP address represented by this resource.
- Parameters:
ipAddress - ipAddress or null for none
-
getPort
public Integer getPort()
The port on the instance.
- Returns:
- value or
null for none
-
setPort
public HealthStatus setPort(Integer port)
The port on the instance.
- Parameters:
port - port or null for none
-
set
public HealthStatus set(String fieldName,
Object value)
- Overrides:
set in class GenericJson
-
clone
public HealthStatus clone()
- Overrides:
clone in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy