Class CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeSourceActiveMQBrokerParametersProperty>
- Enclosing interface:
- CfnPipe.PipeSourceActiveMQBrokerParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeSourceActiveMQBrokerParametersProperty>
A builder for
CfnPipe.PipeSourceActiveMQBrokerParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getBatchSize()
build()
Builds the configured instance.credentials
(IResolvable credentials) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getCredentials()
credentials
(CfnPipe.MQBrokerAccessCredentialsProperty credentials) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getCredentials()
maximumBatchingWindowInSeconds
(Number maximumBatchingWindowInSeconds) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getQueueName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentials
@Stability(Stable) public CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder credentials(IResolvable credentials) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getCredentials()
- Parameters:
credentials
- The credentials needed to access the resource. This parameter is required.- Returns:
this
-
credentials
@Stability(Stable) public CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder credentials(CfnPipe.MQBrokerAccessCredentialsProperty credentials) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getCredentials()
- Parameters:
credentials
- The credentials needed to access the resource. This parameter is required.- Returns:
this
-
queueName
@Stability(Stable) public CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder queueName(String queueName) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getQueueName()
- Parameters:
queueName
- The name of the destination queue to consume. This parameter is required.- Returns:
this
-
batchSize
@Stability(Stable) public CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder batchSize(Number batchSize) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getBatchSize()
- Parameters:
batchSize
- The maximum number of records to include in each batch.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnPipe.PipeSourceActiveMQBrokerParametersProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnPipe.PipeSourceActiveMQBrokerParametersProperty.getMaximumBatchingWindowInSeconds()
- 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.PipeSourceActiveMQBrokerParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeSourceActiveMQBrokerParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-