public LoadBalancer withContainerPort(Integer containerPort) {
        setContainerPort(containerPort);
        return this;
    }
<p>
The port on the container to associate with the load balancer. This port must correspond to a
<code>containerPort</code> in the task definition the tasks in the service are using. For tasks that use the EC2
launch type, the container instance they're launched on must allow ingress traffic on the <code>hostPort</code>
of the port mapping.
</p>

@param containerPort
       The port on the container to associate with the load balancer. This port must correspond to a
       <code>containerPort</code> in the task definition the tasks in the service are using. For tasks that use
       the EC2 launch type, the container instance they're launched on must allow ingress traffic on the
       <code>hostPort</code> of the port mapping.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/LoadBalancer.java