![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.RouterStatusNatStatusNatRuleStatus.html Maven / Gradle / Ivy
RouterStatusNatStatusNatRuleStatus (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class RouterStatusNatStatusNatRuleStatus
- 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.RouterStatusNatStatusNatRuleStatus
-
public final class RouterStatusNatStatusNatRuleStatus
extends GenericJson
Status of a NAT Rule contained in this NAT.
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
RouterStatusNatStatusNatRuleStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RouterStatusNatStatusNatRuleStatus
clone()
List<String>
getActiveNatIps()
A list of active IPs for NAT.
List<String>
getDrainNatIps()
A list of IPs for NAT that are in drain mode.
Integer
getMinExtraIpsNeeded()
The number of extra IPs to allocate.
Integer
getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
Integer
getRuleNumber()
Rule number of the rule.
RouterStatusNatStatusNatRuleStatus
set(String fieldName,
Object value)
RouterStatusNatStatusNatRuleStatus
setActiveNatIps(List<String> activeNatIps)
A list of active IPs for NAT.
RouterStatusNatStatusNatRuleStatus
setDrainNatIps(List<String> drainNatIps)
A list of IPs for NAT that are in drain mode.
RouterStatusNatStatusNatRuleStatus
setMinExtraIpsNeeded(Integer minExtraIpsNeeded)
The number of extra IPs to allocate.
RouterStatusNatStatusNatRuleStatus
setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings)
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
RouterStatusNatStatusNatRuleStatus
setRuleNumber(Integer ruleNumber)
Rule number of the rule.
-
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
-
getActiveNatIps
public List<String> getActiveNatIps()
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
- Returns:
- value or
null
for none
-
setActiveNatIps
public RouterStatusNatStatusNatRuleStatus setActiveNatIps(List<String> activeNatIps)
A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"].
- Parameters:
activeNatIps
- activeNatIps or null
for none
-
getDrainNatIps
public List<String> getDrainNatIps()
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
- Returns:
- value or
null
for none
-
setDrainNatIps
public RouterStatusNatStatusNatRuleStatus setDrainNatIps(List<String> drainNatIps)
A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"].
- Parameters:
drainNatIps
- drainNatIps or null
for none
-
getMinExtraIpsNeeded
public Integer getMinExtraIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in
this NAT Rule are NOT enough to allow all configured VMs to use NAT.
- Returns:
- value or
null
for none
-
setMinExtraIpsNeeded
public RouterStatusNatStatusNatRuleStatus setMinExtraIpsNeeded(Integer minExtraIpsNeeded)
The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in
this NAT Rule are NOT enough to allow all configured VMs to use NAT.
- Parameters:
minExtraIpsNeeded
- minExtraIpsNeeded or null
for none
-
getNumVmEndpointsWithNatMappings
public Integer getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
- Returns:
- value or
null
for none
-
setNumVmEndpointsWithNatMappings
public RouterStatusNatStatusNatRuleStatus setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings)
Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.
- Parameters:
numVmEndpointsWithNatMappings
- numVmEndpointsWithNatMappings or null
for none
-
getRuleNumber
public Integer getRuleNumber()
Rule number of the rule.
- Returns:
- value or
null
for none
-
setRuleNumber
public RouterStatusNatStatusNatRuleStatus setRuleNumber(Integer ruleNumber)
Rule number of the rule.
- Parameters:
ruleNumber
- ruleNumber or null
for none
-
set
public RouterStatusNatStatusNatRuleStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public RouterStatusNatStatusNatRuleStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy