Interface ContainerPortMapping.Builder

    • Method Detail

      • containerPort

        ContainerPortMapping.Builder containerPort​(Integer containerPort)

        The port opened on the container.

        Parameters:
        containerPort - The port opened on the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionPort

        ContainerPortMapping.Builder connectionPort​(Integer connectionPort)

        The port opened on the fleet instance. This is also called the "host port".

        Parameters:
        connectionPort - The port opened on the fleet instance. This is also called the "host port".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        ContainerPortMapping.Builder protocol​(String protocol)

        The network protocol that this mapping supports.

        Parameters:
        protocol - The network protocol that this mapping supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpProtocol, IpProtocol
      • protocol

        ContainerPortMapping.Builder protocol​(IpProtocol protocol)

        The network protocol that this mapping supports.

        Parameters:
        protocol - The network protocol that this mapping supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpProtocol, IpProtocol