Class InboundNatPool


  • public class InboundNatPool
    extends Object
    A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally.
    • Constructor Detail

      • InboundNatPool

        public InboundNatPool()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public InboundNatPool withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the InboundNatPool object itself.
      • withProtocol

        public InboundNatPool withProtocol​(InboundEndpointProtocol protocol)
        Set the protocol value.
        Parameters:
        protocol - the protocol value to set
        Returns:
        the InboundNatPool object itself.
      • backendPort

        public int backendPort()
        Get the backendPort value.
        Returns:
        the backendPort value
      • withBackendPort

        public InboundNatPool withBackendPort​(int backendPort)
        Set the backendPort value.
        Parameters:
        backendPort - the backendPort value to set
        Returns:
        the InboundNatPool object itself.
      • frontendPortRangeStart

        public int frontendPortRangeStart()
        Get the frontendPortRangeStart value.
        Returns:
        the frontendPortRangeStart value
      • withFrontendPortRangeStart

        public InboundNatPool withFrontendPortRangeStart​(int frontendPortRangeStart)
        Set the frontendPortRangeStart value.
        Parameters:
        frontendPortRangeStart - the frontendPortRangeStart value to set
        Returns:
        the InboundNatPool object itself.
      • frontendPortRangeEnd

        public int frontendPortRangeEnd()
        Get the frontendPortRangeEnd value.
        Returns:
        the frontendPortRangeEnd value
      • withFrontendPortRangeEnd

        public InboundNatPool withFrontendPortRangeEnd​(int frontendPortRangeEnd)
        Set the frontendPortRangeEnd value.
        Parameters:
        frontendPortRangeEnd - the frontendPortRangeEnd value to set
        Returns:
        the InboundNatPool object itself.
      • networkSecurityGroupRules

        public List<NetworkSecurityGroupRule> networkSecurityGroupRules()
        Get the networkSecurityGroupRules value.
        Returns:
        the networkSecurityGroupRules value
      • withNetworkSecurityGroupRules

        public InboundNatPool withNetworkSecurityGroupRules​(List<NetworkSecurityGroupRule> networkSecurityGroupRules)
        Set the networkSecurityGroupRules value.
        Parameters:
        networkSecurityGroupRules - the networkSecurityGroupRules value to set
        Returns:
        the InboundNatPool object itself.