Class CfnPipePropsMixin.PipeSourceParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeSourceParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeSourceParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeSourceParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceParametersProperty>
A builder for
CfnPipePropsMixin.PipeSourceParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveMqBrokerParameters(CfnPipePropsMixin.PipeSourceActiveMQBrokerParametersProperty activeMqBrokerParameters) activeMqBrokerParameters(IResolvable activeMqBrokerParameters) build()Builds the configured instance.dynamoDbStreamParameters(CfnPipePropsMixin.PipeSourceDynamoDBStreamParametersProperty dynamoDbStreamParameters) dynamoDbStreamParameters(IResolvable dynamoDbStreamParameters) filterCriteria(CfnPipePropsMixin.FilterCriteriaProperty filterCriteria) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getFilterCriteria()filterCriteria(IResolvable filterCriteria) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getFilterCriteria()kinesisStreamParameters(CfnPipePropsMixin.PipeSourceKinesisStreamParametersProperty kinesisStreamParameters) kinesisStreamParameters(IResolvable kinesisStreamParameters) managedStreamingKafkaParameters(CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty managedStreamingKafkaParameters) managedStreamingKafkaParameters(IResolvable managedStreamingKafkaParameters) rabbitMqBrokerParameters(CfnPipePropsMixin.PipeSourceRabbitMQBrokerParametersProperty rabbitMqBrokerParameters) rabbitMqBrokerParameters(IResolvable rabbitMqBrokerParameters) selfManagedKafkaParameters(CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty selfManagedKafkaParameters) selfManagedKafkaParameters(IResolvable selfManagedKafkaParameters) sqsQueueParameters(CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty sqsQueueParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getSqsQueueParameters()sqsQueueParameters(IResolvable sqsQueueParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getSqsQueueParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeMqBrokerParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder activeMqBrokerParameters(IResolvable activeMqBrokerParameters) - Parameters:
activeMqBrokerParameters- The parameters for using an Active MQ broker as a source.- Returns:
this
-
activeMqBrokerParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder activeMqBrokerParameters(CfnPipePropsMixin.PipeSourceActiveMQBrokerParametersProperty activeMqBrokerParameters) - Parameters:
activeMqBrokerParameters- The parameters for using an Active MQ broker as a source.- Returns:
this
-
dynamoDbStreamParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder dynamoDbStreamParameters(IResolvable dynamoDbStreamParameters) - Parameters:
dynamoDbStreamParameters- The parameters for using a DynamoDB stream as a source.- Returns:
this
-
dynamoDbStreamParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder dynamoDbStreamParameters(CfnPipePropsMixin.PipeSourceDynamoDBStreamParametersProperty dynamoDbStreamParameters) - Parameters:
dynamoDbStreamParameters- The parameters for using a DynamoDB stream as a source.- Returns:
this
-
filterCriteria
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder filterCriteria(IResolvable filterCriteria) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getFilterCriteria()- Parameters:
filterCriteria- The collection of event patterns used to filter events. To remove a filter, specify aFilterCriteriaobject with an empty array ofFilterobjects.For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
- Returns:
this
-
filterCriteria
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder filterCriteria(CfnPipePropsMixin.FilterCriteriaProperty filterCriteria) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getFilterCriteria()- Parameters:
filterCriteria- The collection of event patterns used to filter events. To remove a filter, specify aFilterCriteriaobject with an empty array ofFilterobjects.For more information, see Events and Event Patterns in the Amazon EventBridge User Guide .
- Returns:
this
-
kinesisStreamParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder kinesisStreamParameters(IResolvable kinesisStreamParameters) - Parameters:
kinesisStreamParameters- The parameters for using a Kinesis stream as a source.- Returns:
this
-
kinesisStreamParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder kinesisStreamParameters(CfnPipePropsMixin.PipeSourceKinesisStreamParametersProperty kinesisStreamParameters) - Parameters:
kinesisStreamParameters- The parameters for using a Kinesis stream as a source.- Returns:
this
-
managedStreamingKafkaParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder managedStreamingKafkaParameters(IResolvable managedStreamingKafkaParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getManagedStreamingKafkaParameters()- Parameters:
managedStreamingKafkaParameters- The parameters for using an MSK stream as a source.- Returns:
this
-
managedStreamingKafkaParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder managedStreamingKafkaParameters(CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty managedStreamingKafkaParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getManagedStreamingKafkaParameters()- Parameters:
managedStreamingKafkaParameters- The parameters for using an MSK stream as a source.- Returns:
this
-
rabbitMqBrokerParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder rabbitMqBrokerParameters(IResolvable rabbitMqBrokerParameters) - Parameters:
rabbitMqBrokerParameters- The parameters for using a Rabbit MQ broker as a source.- Returns:
this
-
rabbitMqBrokerParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder rabbitMqBrokerParameters(CfnPipePropsMixin.PipeSourceRabbitMQBrokerParametersProperty rabbitMqBrokerParameters) - Parameters:
rabbitMqBrokerParameters- The parameters for using a Rabbit MQ broker as a source.- Returns:
this
-
selfManagedKafkaParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder selfManagedKafkaParameters(IResolvable selfManagedKafkaParameters) - Parameters:
selfManagedKafkaParameters- The parameters for using a self-managed Apache Kafka stream as a source. A self managed cluster refers to any Apache Kafka cluster not hosted by AWS . This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud , CloudKarafka , or Redpanda . For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide .- Returns:
this
-
selfManagedKafkaParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder selfManagedKafkaParameters(CfnPipePropsMixin.PipeSourceSelfManagedKafkaParametersProperty selfManagedKafkaParameters) - Parameters:
selfManagedKafkaParameters- The parameters for using a self-managed Apache Kafka stream as a source. A self managed cluster refers to any Apache Kafka cluster not hosted by AWS . This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as Confluent Cloud , CloudKarafka , or Redpanda . For more information, see Apache Kafka streams as a source in the Amazon EventBridge User Guide .- Returns:
this
-
sqsQueueParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder sqsQueueParameters(IResolvable sqsQueueParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getSqsQueueParameters()- Parameters:
sqsQueueParameters- The parameters for using a Amazon SQS stream as a source.- Returns:
this
-
sqsQueueParameters
@Stability(Stable) public CfnPipePropsMixin.PipeSourceParametersProperty.Builder sqsQueueParameters(CfnPipePropsMixin.PipeSourceSqsQueueParametersProperty sqsQueueParameters) Sets the value ofCfnPipePropsMixin.PipeSourceParametersProperty.getSqsQueueParameters()- Parameters:
sqsQueueParameters- The parameters for using a Amazon SQS stream as a source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeSourceParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-