Class CfnStream.KinesisConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.qldb.CfnStream.KinesisConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStream.KinesisConfigurationProperty>
- Enclosing interface:
- CfnStream.KinesisConfigurationProperty
@Stability(Stable)
public static final class CfnStream.KinesisConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStream.KinesisConfigurationProperty>
A builder for
CfnStream.KinesisConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationEnabled(Boolean aggregationEnabled) Sets the value ofCfnStream.KinesisConfigurationProperty.getAggregationEnabled()aggregationEnabled(IResolvable aggregationEnabled) Sets the value ofCfnStream.KinesisConfigurationProperty.getAggregationEnabled()build()Builds the configured instance.Sets the value ofCfnStream.KinesisConfigurationProperty.getStreamArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationEnabled
@Stability(Stable) public CfnStream.KinesisConfigurationProperty.Builder aggregationEnabled(Boolean aggregationEnabled) Sets the value ofCfnStream.KinesisConfigurationProperty.getAggregationEnabled()- Parameters:
aggregationEnabled- Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default:TrueRecord aggregation has important implications for processing records and requires de-aggregation in your stream consumer. To learn more, see KPL Key Concepts and Consumer De-aggregation in the Amazon Kinesis Data Streams Developer Guide .
- Returns:
this
-
aggregationEnabled
@Stability(Stable) public CfnStream.KinesisConfigurationProperty.Builder aggregationEnabled(IResolvable aggregationEnabled) Sets the value ofCfnStream.KinesisConfigurationProperty.getAggregationEnabled()- Parameters:
aggregationEnabled- Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call. Default:TrueRecord aggregation has important implications for processing records and requires de-aggregation in your stream consumer. To learn more, see KPL Key Concepts and Consumer De-aggregation in the Amazon Kinesis Data Streams Developer Guide .
- Returns:
this
-
streamArn
@Stability(Stable) public CfnStream.KinesisConfigurationProperty.Builder streamArn(String streamArn) Sets the value ofCfnStream.KinesisConfigurationProperty.getStreamArn()- Parameters:
streamArn- The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStream.KinesisConfigurationProperty>- Returns:
- a new instance of
CfnStream.KinesisConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-