target.apidocs.com.google.api.services.compute.model.HealthStatus.html Maven / Gradle / Ivy
HealthStatus (Compute Engine API alpha-rev20200526-1.30.9)
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()
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.
-
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
-
getAnnotations
public Map<String,String> getAnnotations()
Metadata defined as annotations for network endpoint.
- Returns:
- value or
null
for none
-
setAnnotations
public HealthStatus setAnnotations(Map<String,String> annotations)
Metadata defined as annotations for network endpoint.
- Parameters:
annotations
- annotations or null
for none
-
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()
A forwarding rule IP address assigned to this instance.
- Returns:
- value or
null
for none
-
setIpAddress
public HealthStatus setIpAddress(String ipAddress)
A forwarding rule IP address assigned to this instance.
- Parameters:
ipAddress
- ipAddress or null
for none
-
getPort
public Integer getPort()
The named port of the instance group, not necessarily the port that is health-checked.
- Returns:
- value or
null
for none
-
setPort
public HealthStatus setPort(Integer port)
The named port of the instance group, not necessarily the port that is health-checked.
- 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