Class SourceParameters.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.alpha.SourceParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceParameters>
- Enclosing interface:
SourceParameters
@Stability(Experimental)
public static final class SourceParameters.Builder
extends Object
implements software.amazon.jsii.Builder<SourceParameters>
A builder for
SourceParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveMqBrokerParameters(CfnPipe.PipeSourceActiveMQBrokerParametersProperty activeMqBrokerParameters) Sets the value ofSourceParameters.getActiveMqBrokerParameters()build()Builds the configured instance.dynamoDbStreamParameters(CfnPipe.PipeSourceDynamoDBStreamParametersProperty dynamoDbStreamParameters) Sets the value ofSourceParameters.getDynamoDbStreamParameters()kinesisStreamParameters(CfnPipe.PipeSourceKinesisStreamParametersProperty kinesisStreamParameters) Sets the value ofSourceParameters.getKinesisStreamParameters()managedStreamingKafkaParameters(CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty managedStreamingKafkaParameters) Sets the value ofSourceParameters.getManagedStreamingKafkaParameters()rabbitMqBrokerParameters(CfnPipe.PipeSourceRabbitMQBrokerParametersProperty rabbitMqBrokerParameters) Sets the value ofSourceParameters.getRabbitMqBrokerParameters()selfManagedKafkaParameters(CfnPipe.PipeSourceSelfManagedKafkaParametersProperty selfManagedKafkaParameters) Sets the value ofSourceParameters.getSelfManagedKafkaParameters()sqsQueueParameters(CfnPipe.PipeSourceSqsQueueParametersProperty sqsQueueParameters) Sets the value ofSourceParameters.getSqsQueueParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeMqBrokerParameters
@Stability(Experimental) public SourceParameters.Builder activeMqBrokerParameters(CfnPipe.PipeSourceActiveMQBrokerParametersProperty activeMqBrokerParameters) Sets the value ofSourceParameters.getActiveMqBrokerParameters()- Parameters:
activeMqBrokerParameters- ActiveMQBroker configuration parameters.- Returns:
this
-
dynamoDbStreamParameters
@Stability(Experimental) public SourceParameters.Builder dynamoDbStreamParameters(CfnPipe.PipeSourceDynamoDBStreamParametersProperty dynamoDbStreamParameters) Sets the value ofSourceParameters.getDynamoDbStreamParameters()- Parameters:
dynamoDbStreamParameters- DynamoDB stream configuration parameters.- Returns:
this
-
kinesisStreamParameters
@Stability(Experimental) public SourceParameters.Builder kinesisStreamParameters(CfnPipe.PipeSourceKinesisStreamParametersProperty kinesisStreamParameters) Sets the value ofSourceParameters.getKinesisStreamParameters()- Parameters:
kinesisStreamParameters- Kinesis stream configuration parameters.- Returns:
this
-
managedStreamingKafkaParameters
@Stability(Experimental) public SourceParameters.Builder managedStreamingKafkaParameters(CfnPipe.PipeSourceManagedStreamingKafkaParametersProperty managedStreamingKafkaParameters) Sets the value ofSourceParameters.getManagedStreamingKafkaParameters()- Parameters:
managedStreamingKafkaParameters- Managed streaming Kafka configuration parameters.- Returns:
this
-
rabbitMqBrokerParameters
@Stability(Experimental) public SourceParameters.Builder rabbitMqBrokerParameters(CfnPipe.PipeSourceRabbitMQBrokerParametersProperty rabbitMqBrokerParameters) Sets the value ofSourceParameters.getRabbitMqBrokerParameters()- Parameters:
rabbitMqBrokerParameters- RabbitMQ broker configuration parameters.- Returns:
this
-
selfManagedKafkaParameters
@Stability(Experimental) public SourceParameters.Builder selfManagedKafkaParameters(CfnPipe.PipeSourceSelfManagedKafkaParametersProperty selfManagedKafkaParameters) Sets the value ofSourceParameters.getSelfManagedKafkaParameters()- Parameters:
selfManagedKafkaParameters- Self-managed Kafka configuration parameters.- Returns:
this
-
sqsQueueParameters
@Stability(Experimental) public SourceParameters.Builder sqsQueueParameters(CfnPipe.PipeSourceSqsQueueParametersProperty sqsQueueParameters) Sets the value ofSourceParameters.getSqsQueueParameters()- Parameters:
sqsQueueParameters- SQS queue configuration parameters.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceParameters>- Returns:
- a new instance of
SourceParameters - Throws:
NullPointerException- if any required attribute was not provided
-