public AwsEventsEndpointDetails withEndpointUrl(String endpointUrl) {
        setEndpointUrl(endpointUrl);
        return this;
    }
<p>
The URL of the endpoint.
</p>

@param endpointUrl
       The URL of the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEventsEndpointDetails.java