public class ElasticsearchRetryOptions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES.
Modifier and Type | Field and Description |
---|---|
private java.lang.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).
|
Constructor and Description |
---|
ElasticsearchRetryOptions() |
Modifier and Type | Method and Description |
---|---|
ElasticsearchRetryOptions |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ElasticsearchRetryOptions |
withDurationInSeconds(java.lang.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).
|
private java.lang.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.
public void setDurationInSeconds(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ElasticsearchRetryOptions clone()
clone
in class java.lang.Object