public static final class CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty |
build()
Builds the configured instance.
|
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder |
intervalInSeconds(java.lang.Number intervalInSeconds)
|
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder |
sizeInMBs(java.lang.Number sizeInMBs)
|
public CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder intervalInSeconds(java.lang.Number intervalInSeconds)
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.getIntervalInSeconds()
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).this
public CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty.Builder sizeInMBs(java.lang.Number sizeInMBs)
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.this
public CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty build()
CfnDeliveryStream.AmazonopensearchserviceBufferingHintsProperty
java.lang.NullPointerException
- if any required attribute was not provided