![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.VmEndpointNatMappingsInterfaceNatMappings.html Maven / Gradle / Ivy
VmEndpointNatMappingsInterfaceNatMappings (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class VmEndpointNatMappingsInterfaceNatMappings
- 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.VmEndpointNatMappingsInterfaceNatMappings
-
public final class VmEndpointNatMappingsInterfaceNatMappings
extends GenericJson
Contain information of Nat mapping for an interface of this endpoint.
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
VmEndpointNatMappingsInterfaceNatMappings()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VmEndpointNatMappingsInterfaceNatMappings
clone()
List<String>
getDrainNatIpPortRanges()
List of all drain IP:port-range mappings assigned to this interface.
List<String>
getNatIpPortRanges()
A list of all IP:port-range mappings assigned to this interface.
Integer
getNumTotalDrainNatPorts()
Total number of drain ports across all NAT IPs allocated to this interface.
Integer
getNumTotalNatPorts()
Total number of ports across all NAT IPs allocated to this interface.
List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings>
getRuleMappings()
Information about mappings provided by rules in this NAT.
String
getSourceAliasIpRange()
Alias IP range for this interface endpoint.
String
getSourceVirtualIp()
Primary IP of the VM for this NIC.
VmEndpointNatMappingsInterfaceNatMappings
set(String fieldName,
Object value)
VmEndpointNatMappingsInterfaceNatMappings
setDrainNatIpPortRanges(List<String> drainNatIpPortRanges)
List of all drain IP:port-range mappings assigned to this interface.
VmEndpointNatMappingsInterfaceNatMappings
setNatIpPortRanges(List<String> natIpPortRanges)
A list of all IP:port-range mappings assigned to this interface.
VmEndpointNatMappingsInterfaceNatMappings
setNumTotalDrainNatPorts(Integer numTotalDrainNatPorts)
Total number of drain ports across all NAT IPs allocated to this interface.
VmEndpointNatMappingsInterfaceNatMappings
setNumTotalNatPorts(Integer numTotalNatPorts)
Total number of ports across all NAT IPs allocated to this interface.
VmEndpointNatMappingsInterfaceNatMappings
setRuleMappings(List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> ruleMappings)
Information about mappings provided by rules in this NAT.
VmEndpointNatMappingsInterfaceNatMappings
setSourceAliasIpRange(String sourceAliasIpRange)
Alias IP range for this interface endpoint.
VmEndpointNatMappingsInterfaceNatMappings
setSourceVirtualIp(String sourceVirtualIp)
Primary IP of the VM for this NIC.
-
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
-
VmEndpointNatMappingsInterfaceNatMappings
public VmEndpointNatMappingsInterfaceNatMappings()
-
Method Detail
-
getDrainNatIpPortRanges
public List<String> getDrainNatIpPortRanges()
List of all drain IP:port-range mappings assigned to this interface. 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 VmEndpointNatMappingsInterfaceNatMappings setDrainNatIpPortRanges(List<String> drainNatIpPortRanges)
List of all drain IP:port-range mappings assigned to this interface. 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. 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 VmEndpointNatMappingsInterfaceNatMappings setNatIpPortRanges(List<String> natIpPortRanges)
A list of all IP:port-range mappings assigned to this interface. 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. It equals to the
aggregated port number in the field drain_nat_ip_port_ranges.
- Returns:
- value or
null
for none
-
setNumTotalDrainNatPorts
public VmEndpointNatMappingsInterfaceNatMappings setNumTotalDrainNatPorts(Integer numTotalDrainNatPorts)
Total number of drain ports across all NAT IPs allocated to this interface. It equals to 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. It equals to the
aggregated port number in the field nat_ip_port_ranges.
- Returns:
- value or
null
for none
-
setNumTotalNatPorts
public VmEndpointNatMappingsInterfaceNatMappings setNumTotalNatPorts(Integer numTotalNatPorts)
Total number of ports across all NAT IPs allocated to this interface. It equals to the
aggregated port number in the field nat_ip_port_ranges.
- Parameters:
numTotalNatPorts
- numTotalNatPorts or null
for none
-
getRuleMappings
public List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> getRuleMappings()
Information about mappings provided by rules in this NAT.
- Returns:
- value or
null
for none
-
setRuleMappings
public VmEndpointNatMappingsInterfaceNatMappings setRuleMappings(List<VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings> ruleMappings)
Information about mappings provided by rules in this NAT.
- Parameters:
ruleMappings
- ruleMappings or null
for none
-
getSourceAliasIpRange
public String getSourceAliasIpRange()
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples:
"10.33.4.55/32", or "192.168.5.0/24".
- Returns:
- value or
null
for none
-
setSourceAliasIpRange
public VmEndpointNatMappingsInterfaceNatMappings setSourceAliasIpRange(String sourceAliasIpRange)
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples:
"10.33.4.55/32", or "192.168.5.0/24".
- Parameters:
sourceAliasIpRange
- sourceAliasIpRange or null
for none
-
getSourceVirtualIp
public String getSourceVirtualIp()
Primary IP of the VM for this NIC.
- Returns:
- value or
null
for none
-
setSourceVirtualIp
public VmEndpointNatMappingsInterfaceNatMappings setSourceVirtualIp(String sourceVirtualIp)
Primary IP of the VM for this NIC.
- Parameters:
sourceVirtualIp
- sourceVirtualIp or null
for none
-
set
public VmEndpointNatMappingsInterfaceNatMappings set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public VmEndpointNatMappingsInterfaceNatMappings clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy