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