@Generated(value="software.amazon.awssdk:codegen") public class ElasticsearchRetryOptions extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES.
Modifier and Type | Class and Description |
---|---|
static interface |
ElasticsearchRetryOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static ElasticsearchRetryOptions.Builder |
builder() |
Integer |
durationInSeconds()
After an initial failure to deliver to Amazon ES, the total amount of time during which Firehose re-attempts
delivery (including the first attempt).
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends ElasticsearchRetryOptions.Builder> |
serializableBuilderClass() |
ElasticsearchRetryOptions.Builder |
toBuilder() |
String |
toString() |
public Integer durationInSeconds()
After an initial failure to deliver to Amazon ES, the total amount of time during which Firehose re-attempts 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.
public ElasticsearchRetryOptions.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
public static ElasticsearchRetryOptions.Builder builder()
public static Class<? extends ElasticsearchRetryOptions.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.