Class CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty>
- Enclosing interface:
CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.durationInSeconds
(Number durationInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Stable) public CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty.Builder durationInSeconds(Number durationInSeconds) Sets the value ofCfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty.getDurationInSeconds()
- Parameters:
durationInSeconds
- After an initial failure to deliver to Amazon OpenSearch Service, the total amount of time during which Kinesis Data Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.AmazonopensearchserviceRetryOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-