public LoadBalancer withPublicPorts(java.util.Collection<Integer> publicPorts) {
        setPublicPorts(publicPorts);
        return this;
    }
<p>
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
</p>

@param publicPorts
       An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use 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