Class CfnDeliveryStream.SplunkBufferingHintsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.SplunkBufferingHintsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.SplunkBufferingHintsProperty>
- Enclosing interface:
CfnDeliveryStream.SplunkBufferingHintsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.SplunkBufferingHintsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.SplunkBufferingHintsProperty>
A builder for
CfnDeliveryStream.SplunkBufferingHintsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.intervalInSeconds
(Number intervalInSeconds) Sets the value ofCfnDeliveryStream.SplunkBufferingHintsProperty.getIntervalInSeconds()
Sets the value ofCfnDeliveryStream.SplunkBufferingHintsProperty.getSizeInMBs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intervalInSeconds
@Stability(Stable) public CfnDeliveryStream.SplunkBufferingHintsProperty.Builder intervalInSeconds(Number intervalInSeconds) Sets the value ofCfnDeliveryStream.SplunkBufferingHintsProperty.getIntervalInSeconds()
- Parameters:
intervalInSeconds
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 60 (1 minute).- Returns:
this
-
sizeInMBs
@Stability(Stable) public CfnDeliveryStream.SplunkBufferingHintsProperty.Builder sizeInMBs(Number sizeInMBs) Sets the value ofCfnDeliveryStream.SplunkBufferingHintsProperty.getSizeInMBs()
- Parameters:
sizeInMBs
- Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.SplunkBufferingHintsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.SplunkBufferingHintsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-