target.apidocs.com.google.api.services.compute.model.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings.html Maven / Gradle / Ivy
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
- 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.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
-
public final class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
extends com.google.api.client.json.GenericJson
Contains information of NAT Mappings provided by a NAT Rule.
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
com.google.api.client.util.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
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
clone()
List<String>
getDrainNatIpPortRanges()
List of all drain IP:port-range mappings assigned to this interface by this rule.
List<String>
getNatIpPortRanges()
A list of all IP:port-range mappings assigned to this interface by this rule.
Integer
getNumTotalDrainNatPorts()
Total number of drain ports across all NAT IPs allocated to this interface by this rule.
Integer
getNumTotalNatPorts()
Total number of ports across all NAT IPs allocated to this interface by this rule.
Integer
getRuleNumber()
Rule number of the NAT Rule.
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
set(String fieldName,
Object value)
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
setDrainNatIpPortRanges(List<String> drainNatIpPortRanges)
List of all drain IP:port-range mappings assigned to this interface by this rule.
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
setNatIpPortRanges(List<String> natIpPortRanges)
A list of all IP:port-range mappings assigned to this interface by this rule.
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
setNumTotalDrainNatPorts(Integer numTotalDrainNatPorts)
Total number of drain ports across all NAT IPs allocated to this interface by this rule.
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
setNumTotalNatPorts(Integer numTotalNatPorts)
Total number of ports across all NAT IPs allocated to this interface by this rule.
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
setRuleNumber(Integer ruleNumber)
Rule number of the NAT 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
-
-
Constructor Detail
-
VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings()
-
Method Detail
-
getDrainNatIpPortRanges
public List<String> getDrainNatIpPortRanges()
List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges
are inclusive, that is, both the first and the last ports can be used for NAT. Example:
["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
- Returns:
- value or
null for none
-
setDrainNatIpPortRanges
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings setDrainNatIpPortRanges(List<String> drainNatIpPortRanges)
List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges
are inclusive, that is, both the first and the last ports can be used for NAT. Example:
["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
- Parameters:
drainNatIpPortRanges - drainNatIpPortRanges or null for none
-
getNatIpPortRanges
public List<String> getNatIpPortRanges()
A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are
inclusive, that is, both the first and the last ports can be used for NAT. Example:
["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
- Returns:
- value or
null for none
-
setNatIpPortRanges
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings setNatIpPortRanges(List<String> natIpPortRanges)
A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are
inclusive, that is, both the first and the last ports can be used for NAT. Example:
["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
- Parameters:
natIpPortRanges - natIpPortRanges or null for none
-
getNumTotalDrainNatPorts
public Integer getNumTotalDrainNatPorts()
Total number of drain ports across all NAT IPs allocated to this interface by this rule. It
equals the aggregated port number in the field drain_nat_ip_port_ranges.
- Returns:
- value or
null for none
-
setNumTotalDrainNatPorts
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings setNumTotalDrainNatPorts(Integer numTotalDrainNatPorts)
Total number of drain ports across all NAT IPs allocated to this interface by this rule. It
equals the aggregated port number in the field drain_nat_ip_port_ranges.
- Parameters:
numTotalDrainNatPorts - numTotalDrainNatPorts or null for none
-
getNumTotalNatPorts
public Integer getNumTotalNatPorts()
Total number of ports across all NAT IPs allocated to this interface by this rule. It equals
the aggregated port number in the field nat_ip_port_ranges.
- Returns:
- value or
null for none
-
setNumTotalNatPorts
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings setNumTotalNatPorts(Integer numTotalNatPorts)
Total number of ports across all NAT IPs allocated to this interface by this rule. It equals
the aggregated port number in the field nat_ip_port_ranges.
- Parameters:
numTotalNatPorts - numTotalNatPorts or null for none
-
getRuleNumber
public Integer getRuleNumber()
Rule number of the NAT Rule.
- Returns:
- value or
null for none
-
setRuleNumber
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings setRuleNumber(Integer ruleNumber)
Rule number of the NAT Rule.
- Parameters:
ruleNumber - ruleNumber or null for none
-
set
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy