Class ElasticsearchRetryOptions
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.ElasticsearchRetryOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
@Generated("software.amazon.awssdk:codegen") public final class ElasticsearchRetryOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
Configures retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ElasticsearchRetryOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElasticsearchRetryOptions.Builder
builder()
Integer
durationInSeconds()
After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt).boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ElasticsearchRetryOptions.Builder>
serializableBuilderClass()
ElasticsearchRetryOptions.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
durationInSeconds
public final Integer durationInSeconds()
After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis Data 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:
- After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis Data 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.
-
toBuilder
public ElasticsearchRetryOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
-
builder
public static ElasticsearchRetryOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends ElasticsearchRetryOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-