Interface PortMapping.Builder

    • Method Detail

      • port

        PortMapping.Builder port​(Integer port)

        The port used for the port mapping.

        Parameters:
        port - The port used for the port mapping.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        PortMapping.Builder protocol​(String protocol)

        The protocol used for the port mapping. Specify one protocol.

        Parameters:
        protocol - The protocol used for the port mapping. Specify one protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PortProtocol, PortProtocol
      • protocol

        PortMapping.Builder protocol​(PortProtocol protocol)

        The protocol used for the port mapping. Specify one protocol.

        Parameters:
        protocol - The protocol used for the port mapping. Specify one protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PortProtocol, PortProtocol