public UpdateEnvironmentResult withEndpointURL(String endpointURL) {
        setEndpointURL(endpointURL);
        return this;
    }
<p>
For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the
IP address of the instance.
</p>

@param endpointURL
       For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance
       environments, the IP address of the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/UpdateEnvironmentResult.java