target.apidocs.com.google.api.services.compute.model.RouterStatusNatStatus.html Maven / Gradle / Ivy
RouterStatusNatStatus (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute.model
Class RouterStatusNatStatus
- 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.RouterStatusNatStatus
-
public final class RouterStatusNatStatus
extends GenericJson
Status of a NAT contained in this router.
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
RouterStatusNatStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RouterStatusNatStatus
clone()
List<String>
getAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT.
List<String>
getDrainAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT that are in drain mode.
List<String>
getDrainUserAllocatedNatIps()
A list of IPs user-allocated for NAT that are in drain mode.
Integer
getMinExtraNatIpsNeeded()
The number of extra IPs to allocate.
String
getName()
Unique name of this NAT.
Integer
getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.
List<RouterStatusNatStatusNatRuleStatus>
getRuleStatus()
Status of rules in this NAT.
List<String>
getUserAllocatedNatIpResources()
A list of fully qualified URLs of reserved IP address resources.
List<String>
getUserAllocatedNatIps()
A list of IPs user-allocated for NAT.
RouterStatusNatStatus
set(String fieldName,
Object value)
RouterStatusNatStatus
setAutoAllocatedNatIps(List<String> autoAllocatedNatIps)
A list of IPs auto-allocated for NAT.
RouterStatusNatStatus
setDrainAutoAllocatedNatIps(List<String> drainAutoAllocatedNatIps)
A list of IPs auto-allocated for NAT that are in drain mode.
RouterStatusNatStatus
setDrainUserAllocatedNatIps(List<String> drainUserAllocatedNatIps)
A list of IPs user-allocated for NAT that are in drain mode.
RouterStatusNatStatus
setMinExtraNatIpsNeeded(Integer minExtraNatIpsNeeded)
The number of extra IPs to allocate.
RouterStatusNatStatus
setName(String name)
Unique name of this NAT.
RouterStatusNatStatus
setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings)
Number of VM endpoints (i.e., Nics) that can use NAT.
RouterStatusNatStatus
setRuleStatus(List<RouterStatusNatStatusNatRuleStatus> ruleStatus)
Status of rules in this NAT.
RouterStatusNatStatus
setUserAllocatedNatIpResources(List<String> userAllocatedNatIpResources)
A list of fully qualified URLs of reserved IP address resources.
RouterStatusNatStatus
setUserAllocatedNatIps(List<String> userAllocatedNatIps)
A list of IPs user-allocated for NAT.
-
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
-
getAutoAllocatedNatIps
public List<String> getAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
- Returns:
- value or
null
for none
-
setAutoAllocatedNatIps
public RouterStatusNatStatus setAutoAllocatedNatIps(List<String> autoAllocatedNatIps)
A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"]
- Parameters:
autoAllocatedNatIps
- autoAllocatedNatIps or null
for none
-
getDrainAutoAllocatedNatIps
public List<String> getDrainAutoAllocatedNatIps()
A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1",
"179.12.26.133"].
- Returns:
- value or
null
for none
-
setDrainAutoAllocatedNatIps
public RouterStatusNatStatus setDrainAutoAllocatedNatIps(List<String> drainAutoAllocatedNatIps)
A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1",
"179.12.26.133"].
- Parameters:
drainAutoAllocatedNatIps
- drainAutoAllocatedNatIps or null
for none
-
getDrainUserAllocatedNatIps
public List<String> getDrainUserAllocatedNatIps()
A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1",
"179.12.26.133"].
- Returns:
- value or
null
for none
-
setDrainUserAllocatedNatIps
public RouterStatusNatStatus setDrainUserAllocatedNatIps(List<String> drainUserAllocatedNatIps)
A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1",
"179.12.26.133"].
- Parameters:
drainUserAllocatedNatIps
- drainUserAllocatedNatIps or null
for none
-
getMinExtraNatIpsNeeded
public Integer getMinExtraNatIpsNeeded()
The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are
NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-
allocation of NAT IPs is *not* used.
- Returns:
- value or
null
for none
-
setMinExtraNatIpsNeeded
public RouterStatusNatStatus setMinExtraNatIpsNeeded(Integer minExtraNatIpsNeeded)
The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are
NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-
allocation of NAT IPs is *not* used.
- Parameters:
minExtraNatIpsNeeded
- minExtraNatIpsNeeded or null
for none
-
getName
public String getName()
Unique name of this NAT.
- Returns:
- value or
null
for none
-
setName
public RouterStatusNatStatus setName(String name)
Unique name of this NAT.
- Parameters:
name
- name or null
for none
-
getNumVmEndpointsWithNatMappings
public Integer getNumVmEndpointsWithNatMappings()
Number of VM endpoints (i.e., Nics) that can use NAT.
- Returns:
- value or
null
for none
-
setNumVmEndpointsWithNatMappings
public RouterStatusNatStatus setNumVmEndpointsWithNatMappings(Integer numVmEndpointsWithNatMappings)
Number of VM endpoints (i.e., Nics) that can use NAT.
- Parameters:
numVmEndpointsWithNatMappings
- numVmEndpointsWithNatMappings or null
for none
-
getRuleStatus
public List<RouterStatusNatStatusNatRuleStatus> getRuleStatus()
Status of rules in this NAT.
- Returns:
- value or
null
for none
-
setRuleStatus
public RouterStatusNatStatus setRuleStatus(List<RouterStatusNatStatusNatRuleStatus> ruleStatus)
Status of rules in this NAT.
- Parameters:
ruleStatus
- ruleStatus or null
for none
-
getUserAllocatedNatIpResources
public List<String> getUserAllocatedNatIpResources()
A list of fully qualified URLs of reserved IP address resources.
- Returns:
- value or
null
for none
-
setUserAllocatedNatIpResources
public RouterStatusNatStatus setUserAllocatedNatIpResources(List<String> userAllocatedNatIpResources)
A list of fully qualified URLs of reserved IP address resources.
- Parameters:
userAllocatedNatIpResources
- userAllocatedNatIpResources or null
for none
-
getUserAllocatedNatIps
public List<String> getUserAllocatedNatIps()
A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
- Returns:
- value or
null
for none
-
setUserAllocatedNatIps
public RouterStatusNatStatus setUserAllocatedNatIps(List<String> userAllocatedNatIps)
A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133".
- Parameters:
userAllocatedNatIps
- userAllocatedNatIps or null
for none
-
set
public RouterStatusNatStatus set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public RouterStatusNatStatus clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy