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 Firehose is unable to deliver documents to Amazon OpenSearch Service.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final IntegerAfter an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt).final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ElasticsearchRetryOptions.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
durationInSeconds
After an initial failure to deliver to 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.
- Returns:
- After an initial failure to deliver to 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ElasticsearchRetryOptions.Builder,ElasticsearchRetryOptions>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-