Class CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty>
-
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.ElasticsearchRetryOptionsProperty.Builder durationInSeconds(Number durationInSeconds) Sets the value ofCfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty.getDurationInSeconds()- Parameters:
durationInSeconds- After an initial failure to deliver to Amazon ES, the total amount of time during which Kinesis Data Firehose re-attempts delivery (including the first attempt). If Kinesis Data Firehose can't deliver the data within the specified time, it writes the data to the backup S3 bucket. For valid values, see theDurationInSecondscontent for the ElasticsearchRetryOptions data type in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.ElasticsearchRetryOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-