Class ElasticsearchRetryOptions
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.ElasticsearchRetryOptions
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ElasticsearchRetryOptions extends Object implements Serializable, Cloneable
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon ES.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchRetryOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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).
-
-
-
Method Detail
-
setDurationInSeconds
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.
- Parameters:
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.
-
getDurationInSeconds
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.
- Returns:
- 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.
-
withDurationInSeconds
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchRetryOptions clone()
-
-