Class RedshiftRetryOptions
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.RedshiftRetryOptions
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RedshiftRetryOptions extends Object implements Serializable, Cloneable
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedshiftRetryOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setDurationInSeconds
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.- 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
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.- 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
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.- 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
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 RedshiftRetryOptions clone()
-
-