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

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

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

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy