Class CfnDeliveryStream.RedshiftRetryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.RedshiftRetryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.RedshiftRetryOptionsProperty>
- Enclosing interface:
CfnDeliveryStream.RedshiftRetryOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.RedshiftRetryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.RedshiftRetryOptionsProperty>
A builder for
CfnDeliveryStream.RedshiftRetryOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.durationInSeconds
(Number durationInSeconds) Sets the value ofCfnDeliveryStream.RedshiftRetryOptionsProperty.getDurationInSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Stable) public CfnDeliveryStream.RedshiftRetryOptionsProperty.Builder durationInSeconds(Number durationInSeconds) Sets the value ofCfnDeliveryStream.RedshiftRetryOptionsProperty.getDurationInSeconds()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.RedshiftRetryOptionsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.RedshiftRetryOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-