Class CfnDeliveryStream.ElasticsearchRetryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.ElasticsearchRetryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.ElasticsearchRetryOptionsProperty>
- Enclosing interface:
CfnDeliveryStream.ElasticsearchRetryOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.ElasticsearchRetryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.ElasticsearchRetryOptionsProperty>
A builder for
CfnDeliveryStream.ElasticsearchRetryOptionsProperty
-
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.ElasticsearchRetryOptionsProperty.Builder durationInSeconds(Number durationInSeconds) - 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 theDurationInSeconds
content for the ElasticsearchRetryOptions data type in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.ElasticsearchRetryOptionsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.ElasticsearchRetryOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-