![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.HealthStatus.html Maven / Gradle / Ivy
HealthStatus (Compute Engine API beta-rev20220726-2.0.0)
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
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)
-
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
-
getForwardingRule
public String getForwardingRule()
URL of the forwarding rule associated with the health status of the instance.
- Returns:
- value or
null
for none
-
setForwardingRule
public HealthStatus setForwardingRule(String forwardingRule)
URL of the forwarding rule associated with the health status of the instance.
- Parameters:
forwardingRule
- forwardingRule or null
for none
-
getForwardingRuleIp
public String getForwardingRuleIp()
A forwarding rule IP address assigned to this instance.
- Returns:
- value or
null
for none
-
setForwardingRuleIp
public HealthStatus setForwardingRuleIp(String forwardingRuleIp)
A forwarding rule IP address assigned to this instance.
- Parameters:
forwardingRuleIp
- forwardingRuleIp 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()
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address
assigned to this instance. For other types of load balancing, the field indicates VM internal
ip.
- Returns:
- value or
null
for none
-
setIpAddress
public HealthStatus setIpAddress(String ipAddress)
For target pool based Network Load Balancing, it indicates the forwarding rule's IP address
assigned to this instance. For other types of load balancing, the field indicates VM internal
ip.
- 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
-
getWeight
public String getWeight()
- Returns:
- value or
null
for none
-
setWeight
public HealthStatus setWeight(String weight)
- Parameters:
weight
- weight or null
for none
-
getWeightError
public String getWeightError()
- Returns:
- value or
null
for none
-
setWeightError
public HealthStatus setWeightError(String weightError)
- Parameters:
weightError
- weightError 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–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy