public class RedshiftRetryOptions extends Object implements Serializable, Cloneable
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.
Constructor and Description |
---|
RedshiftRetryOptions() |
Modifier and Type | Method and Description |
---|---|
RedshiftRetryOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftRetryOptions |
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.
|
public 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. 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.
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 of DurationInSeconds
is 0
(zero) or if the first delivery attempt takes longer than the
current value.public Integer 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.
DurationInSeconds
is 0 (zero) or if the first
delivery attempt takes longer than the current value.public RedshiftRetryOptions 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. 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.
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 of DurationInSeconds
is 0
(zero) or if the first delivery attempt takes longer than the
current value.public String toString()
toString
in class Object
Object.toString()
public RedshiftRetryOptions clone()
Copyright © 2016. All rights reserved.