Class CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty>
- Enclosing interface:
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.intervalInSeconds
(Number intervalInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intervalInSeconds
@Stability(Stable) public CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder intervalInSeconds(Number intervalInSeconds) Sets the value ofCfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.getIntervalInSeconds()
- Parameters:
intervalInSeconds
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).- Returns:
this
-
sizeInMBs
@Stability(Stable) public CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder sizeInMBs(Number sizeInMBs) - Parameters:
sizeInMBs
- Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5. We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-