public class RedshiftRetryOptions
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 Redshift.
Modifier and Type | Field and Description |
---|---|
private java.lang.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 and Description |
---|
RedshiftRetryOptions() |
Modifier and Type | Method and Description |
---|---|
RedshiftRetryOptions |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.Integer durationInSeconds)
The length of time during which Firehose retries delivery after a
failure, starting from the initial request and including the first
attempt.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftRetryOptions |
withDurationInSeconds(java.lang.Integer durationInSeconds)
The length of time during which Firehose retries delivery after a
failure, starting from the initial request and including the first
attempt.
|
private java.lang.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.
public void setDurationInSeconds(java.lang.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 java.lang.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(java.lang.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 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 RedshiftRetryOptions clone()
clone
in class java.lang.Object