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
Constructors -
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 Kinesis Data 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 Data 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<CfnDeliveryStream.RedshiftRetryOptionsProperty>- Returns:
- a new instance of
CfnDeliveryStream.RedshiftRetryOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-