public AmazonOpenSearchServerlessDestinationUpdate withCollectionEndpoint(String collectionEndpoint) {
        setCollectionEndpoint(collectionEndpoint);
        return this;
    }
<p>
The endpoint to use when communicating with the collection in the Serverless offering for Amazon OpenSearch
Service.
</p>

@param collectionEndpoint
       The endpoint to use when communicating with the collection in the Serverless offering for Amazon
       OpenSearch Service.
@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/AmazonOpenSearchServerlessDestinationUpdate.java