Interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails.Builder

  • Method Details

    • containerPort

      The port number on the container that is bound to the user-specified or automatically assigned host port.

      Parameters:
      containerPort - The port number on the container that is bound to the user-specified or automatically assigned host port.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostPort

      The port number on the container instance to reserve for the container.

      Parameters:
      hostPort - The port number on the container instance to reserve for the container.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      The protocol used for the port mapping. The default is tcp.

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