public LoadBalancer withInstancePort(Integer instancePort) {
        setInstancePort(instancePort);
        return this;
    }
<p>
The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80.
For HTTPS traffic, it's port 443.
</p>

@param instancePort
       The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's
       port 80. For HTTPS traffic, it's port 443.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancer.java