@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Configures retry behavior in case 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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.