@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElasticsearchRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Configures retry behavior in case Kinesis Firehose is unable to deliver documents to Amazon ES.
| Constructor and Description |
|---|
ElasticsearchRetryOptions() |
| Modifier and Type | Method and Description |
|---|---|
ElasticsearchRetryOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
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).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDurationInSeconds(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).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ElasticsearchRetryOptions |
withDurationInSeconds(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).
|
public void setDurationInSeconds(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.
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 Integer getDurationInSeconds()
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 withDurationInSeconds(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.
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 String toString()
toString in class ObjectObject.toString()public ElasticsearchRetryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.