Class CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty>
A builder for
CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.getBatchSize()build()Builds the configured instance.maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
@Stability(Stable) public CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.Builder batchSize(Number batchSize) Sets the value ofCfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.getBatchSize()- Parameters:
batchSize- The maximum number of records to include in each batch.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnPipePropsMixin.PipeSourceSqsQueueParametersProperty.getMaximumBatchingWindowInSeconds()- Parameters:
maximumBatchingWindowInSeconds- The maximum length of a time to wait for events.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-