Class CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.consumerGroupId(String consumerGroupId) credentials(IResolvable credentials) maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) startingPosition(String startingPosition)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder batchSize(Number batchSize) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getBatchSize()- Parameters:
batchSize- The maximum number of records to include in each batch.- Returns:
this
-
consumerGroupId
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder consumerGroupId(String consumerGroupId) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getConsumerGroupId()- Parameters:
consumerGroupId- The name of the destination queue to consume.- Returns:
this
-
credentials
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder credentials(IResolvable credentials) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getCredentials()- Parameters:
credentials- The credentials needed to access the resource.- Returns:
this
-
credentials
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder credentials(CfnPipePropsMixin.MSKAccessCredentialsProperty credentials) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getCredentials()- Parameters:
credentials- The credentials needed to access the resource.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getMaximumBatchingWindowInSeconds()- Parameters:
maximumBatchingWindowInSeconds- The maximum length of a time to wait for events.- Returns:
this
-
startingPosition
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder startingPosition(String startingPosition) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getStartingPosition()- Parameters:
startingPosition- The position in a stream from which to start reading.- Returns:
this
-
topicName
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.Builder topicName(String topicName) Sets the value ofCfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty.getTopicName()- Parameters:
topicName- The name of the topic that the pipe will read from.- Returns:
this
-
build
@Stability(Stable) public CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeSourceManagedStreamingKafkaParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-