Interface ContainerPortMapping.Builder

  • Method Details

    • 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

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