public ElasticsearchDestinationDescription withDocumentIdOptions(DocumentIdOptions documentIdOptions) {
        setDocumentIdOptions(documentIdOptions);
        return this;
    }
<p>
Indicates the method for setting up document ID. The supported methods are Firehose generated document ID and
OpenSearch Service generated document ID.
</p>

@param documentIdOptions
       Indicates the method for setting up document ID. The supported methods are Firehose generated document ID
       and OpenSearch Service generated document ID.
@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