public ElasticsearchDestinationDescription withClusterEndpoint(String clusterEndpoint) {
        setClusterEndpoint(clusterEndpoint);
        return this;
    }
<p>
The endpoint to use when communicating with the cluster. Firehose uses either this <code>ClusterEndpoint</code>
or the <code>DomainARN</code> field to send data to Amazon ES.
</p>

@param clusterEndpoint
       The endpoint to use when communicating with the cluster. Firehose uses either this
       <code>ClusterEndpoint</code> or the <code>DomainARN</code> field to send data to Amazon ES.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/ElasticsearchDestinationDescription.java