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 RedshiftRetryOptionsclone()booleanequals(Object obj)IntegergetDurationInSeconds()The 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.StringtoString()Returns a string representation of this object; useful for testing and debugging.RedshiftRetryOptionswithDurationInSeconds(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
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
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
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
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
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftRetryOptions clone()
-
-