@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchRetryOptions extends Object implements StructuredPojo, ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
Configures retry behavior in case Kinesis 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 Kinesis Firehose
re-attempts delivery (including the first attempt).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ElasticsearchRetryOptions.Builder> |
serializableBuilderClass() |
ElasticsearchRetryOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer durationInSeconds()
After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
public static ElasticsearchRetryOptions.Builder builder()
public static Class<? extends ElasticsearchRetryOptions.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.