@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Configures retry behavior in case Kinesis 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 Kinesis Firehose retries delivery after a failure, starting from the initial
request and including the first attempt.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationInSeconds(Integer durationInSeconds)
The length of time during which Kinesis 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 Kinesis 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 Kinesis Firehose retries delivery after a failure, starting from the initial
request and including the first attempt. The default value is 3600 seconds (60 minutes). Kinesis 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 Kinesis Firehose retries delivery after a failure, starting from the
initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Kinesis
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 Kinesis Firehose retries delivery after a failure, starting from the initial
request and including the first attempt. The default value is 3600 seconds (60 minutes). Kinesis 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 Kinesis Firehose retries delivery after a failure, starting from the initial
request and including the first attempt. The default value is 3600 seconds (60 minutes). Kinesis 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 Kinesis Firehose retries delivery after a failure, starting from the
initial request and including the first attempt. The default value is 3600 seconds (60 minutes). Kinesis
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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.