Interface ElasticsearchRetryOptions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>, SdkBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>, SdkPojo
Enclosing class:
ElasticsearchRetryOptions

public static interface ElasticsearchRetryOptions.Builder extends SdkPojo, CopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
  • Method Details

    • durationInSeconds

      ElasticsearchRetryOptions.Builder durationInSeconds(Integer durationInSeconds)

      After an initial failure to deliver to Amazon ES, 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.

      Parameters:
      durationInSeconds - After an initial failure to deliver to Amazon ES, 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.