Class CfnDeliveryStream.ElasticsearchBufferingHintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.ElasticsearchBufferingHintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.ElasticsearchBufferingHintsProperty>
- Enclosing interface:
CfnDeliveryStream.ElasticsearchBufferingHintsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.ElasticsearchBufferingHintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.ElasticsearchBufferingHintsProperty>
A builder for
CfnDeliveryStream.ElasticsearchBufferingHintsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.intervalInSeconds
(Number intervalInSeconds) Sets the value ofCfnDeliveryStream.ElasticsearchBufferingHintsProperty.getSizeInMBs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intervalInSeconds
@Stability(Stable) public CfnDeliveryStream.ElasticsearchBufferingHintsProperty.Builder intervalInSeconds(Number intervalInSeconds) - Parameters:
intervalInSeconds
- The length of time, in seconds, that Kinesis Data Firehose buffers incoming data before delivering it to the destination. For valid values, see theIntervalInSeconds
content for the BufferingHints data type in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
sizeInMBs
@Stability(Stable) public CfnDeliveryStream.ElasticsearchBufferingHintsProperty.Builder sizeInMBs(Number sizeInMBs) Sets the value ofCfnDeliveryStream.ElasticsearchBufferingHintsProperty.getSizeInMBs()
- Parameters:
sizeInMBs
- The size of the buffer, in MBs, that Kinesis Data Firehose uses for incoming data before delivering it to the destination. For valid values, see theSizeInMBs
content for the BufferingHints 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.ElasticsearchBufferingHintsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.ElasticsearchBufferingHintsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-