public ElasticsearchDestinationDescription withRetryOptions(ElasticsearchRetryOptions retryOptions) {
        setRetryOptions(retryOptions);
        return this;
    }
<p>
The Amazon ES retry options.
</p>

@param retryOptions
       The Amazon ES retry options.
@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