All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250320-2.0.0
Show newest version






VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (Compute Engine API v1-rev20250107-2.0.0)












com.google.api.services.compute.model

Class VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    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.
    • 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

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy