public Integer getDurationInSeconds() {
        return this.durationInSeconds;
    }
<p>
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of
time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the
failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results
in no retries.
</p>

@return After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total
        amount of time during which Firehose retries delivery (including the first attempt). After this time has
        elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value
        of 0 (zero) results in no retries.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/AmazonOpenSearchServerlessRetryOptions.java