Class CfnTopicRule.BatchConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.BatchConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.BatchConfigProperty>
- Enclosing interface:
CfnTopicRule.BatchConfigProperty
@Stability(Stable)
public static final class CfnTopicRule.BatchConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.BatchConfigProperty>
A builder for
CfnTopicRule.BatchConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxBatchOpenMs(Number maxBatchOpenMs) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchOpenMs()maxBatchSize(Number maxBatchSize) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchSize()maxBatchSizeBytes(Number maxBatchSizeBytes) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchSizeBytes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxBatchOpenMs
@Stability(Stable) public CfnTopicRule.BatchConfigProperty.Builder maxBatchOpenMs(Number maxBatchOpenMs) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchOpenMs()- Parameters:
maxBatchOpenMs- the value to be set.- Returns:
this
-
maxBatchSize
@Stability(Stable) public CfnTopicRule.BatchConfigProperty.Builder maxBatchSize(Number maxBatchSize) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchSize()- Parameters:
maxBatchSize- the value to be set.- Returns:
this
-
maxBatchSizeBytes
@Stability(Stable) public CfnTopicRule.BatchConfigProperty.Builder maxBatchSizeBytes(Number maxBatchSizeBytes) Sets the value ofCfnTopicRule.BatchConfigProperty.getMaxBatchSizeBytes()- Parameters:
maxBatchSizeBytes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRule.BatchConfigProperty>- Returns:
- a new instance of
CfnTopicRule.BatchConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-