public class ElasticsearchRetryOptions extends Object implements Serializable, Cloneable
Configures retry behavior in the event that 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 Firehose re-attempts
delivery (including the first attempt).
|
int |
hashCode() |
void |
setDurationInSeconds(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).
|
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 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 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 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 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 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 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()
Copyright © 2016. All rights reserved.