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()
boolean
The length of time during which Firehose retries delivery after a failure, starting from the initial request and including the first attempt.int
hashCode()
void
setDurationInSeconds
(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
DurationInSeconds
is 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 ofDurationInSeconds
is 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
DurationInSeconds
is 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
DurationInSeconds
is 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
DurationInSeconds
is 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 ofDurationInSeconds
is 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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-