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