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