public AmazonopensearchserviceDestinationConfiguration withRetryOptions(AmazonopensearchserviceRetryOptions retryOptions) {
        setRetryOptions(retryOptions);
        return this;
    }
<p>
The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The default
value is 300 (5 minutes).
</p>

@param retryOptions
       The retry behavior in case Firehose is unable to deliver documents to Amazon OpenSearch Service. The
       default value is 300 (5 minutes).
@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/AmazonopensearchserviceDestinationConfiguration.java