Class RedshiftRetryOptions
- All Implemented Interfaces:
Serializable, Cloneable
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt.inthashCode()voidsetDurationInSeconds(Integer durationInSeconds) The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt.toString()Returns a string representation of this object; useful for testing and debugging.withDurationInSeconds(Integer durationInSeconds) The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt.
-
Constructor Details
-
RedshiftRetryOptions
public RedshiftRetryOptions()
-
-
Method Details
-
setDurationInSeconds
The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of
DurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.- Parameters:
durationInSeconds- The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value ofDurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.
-
getDurationInSeconds
The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of
DurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.- Returns:
- The length of time during which Firehose retries delivery after a
failure, starting from the initial request and including the
first attempt. The default value is 3600 seconds (60 minutes).
Firehose does not retry if the value of
DurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.
-
withDurationInSeconds
The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value of
DurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.- Parameters:
durationInSeconds- The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Firehose does not retry if the value ofDurationInSecondsis 0 (zero) or if the first delivery attempt takes longer than the current value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-