Interface PipeSourceManagedStreamingKafkaParameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipeSourceManagedStreamingKafkaParameters.Builder,PipeSourceManagedStreamingKafkaParameters>,SdkBuilder<PipeSourceManagedStreamingKafkaParameters.Builder,PipeSourceManagedStreamingKafkaParameters>,SdkPojo
- Enclosing class:
- PipeSourceManagedStreamingKafkaParameters
public static interface PipeSourceManagedStreamingKafkaParameters.Builder extends SdkPojo, CopyableBuilder<PipeSourceManagedStreamingKafkaParameters.Builder,PipeSourceManagedStreamingKafkaParameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PipeSourceManagedStreamingKafkaParameters.BuilderbatchSize(Integer batchSize)The maximum number of records to include in each batch.PipeSourceManagedStreamingKafkaParameters.BuilderconsumerGroupID(String consumerGroupID)The name of the destination queue to consume.default PipeSourceManagedStreamingKafkaParameters.Buildercredentials(Consumer<MSKAccessCredentials.Builder> credentials)The credentials needed to access the resource.PipeSourceManagedStreamingKafkaParameters.Buildercredentials(MSKAccessCredentials credentials)The credentials needed to access the resource.PipeSourceManagedStreamingKafkaParameters.BuildermaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)The maximum length of a time to wait for events.PipeSourceManagedStreamingKafkaParameters.BuilderstartingPosition(String startingPosition)(Streams only) The position in a stream from which to start reading.PipeSourceManagedStreamingKafkaParameters.BuilderstartingPosition(MSKStartPosition startingPosition)(Streams only) The position in a stream from which to start reading.PipeSourceManagedStreamingKafkaParameters.BuildertopicName(String topicName)The name of the topic that the pipe will read from.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
batchSize
PipeSourceManagedStreamingKafkaParameters.Builder batchSize(Integer batchSize)
The maximum number of records to include in each batch.
- Parameters:
batchSize- The maximum number of records to include in each batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupID
PipeSourceManagedStreamingKafkaParameters.Builder consumerGroupID(String consumerGroupID)
The name of the destination queue to consume.
- Parameters:
consumerGroupID- The name of the destination queue to consume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
PipeSourceManagedStreamingKafkaParameters.Builder credentials(MSKAccessCredentials credentials)
The credentials needed to access the resource.
- Parameters:
credentials- The credentials needed to access the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default PipeSourceManagedStreamingKafkaParameters.Builder credentials(Consumer<MSKAccessCredentials.Builder> credentials)
The credentials needed to access the resource.
This is a convenience method that creates an instance of theMSKAccessCredentials.Builderavoiding the need to create one manually viaMSKAccessCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(MSKAccessCredentials).- Parameters:
credentials- a consumer that will call methods onMSKAccessCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
credentials(MSKAccessCredentials)
-
maximumBatchingWindowInSeconds
PipeSourceManagedStreamingKafkaParameters.Builder maximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum length of a time to wait for events.
- Parameters:
maximumBatchingWindowInSeconds- The maximum length of a time to wait for events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingPosition
PipeSourceManagedStreamingKafkaParameters.Builder startingPosition(String startingPosition)
(Streams only) The position in a stream from which to start reading.
- Parameters:
startingPosition- (Streams only) The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MSKStartPosition,MSKStartPosition
-
startingPosition
PipeSourceManagedStreamingKafkaParameters.Builder startingPosition(MSKStartPosition startingPosition)
(Streams only) The position in a stream from which to start reading.
- Parameters:
startingPosition- (Streams only) The position in a stream from which to start reading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MSKStartPosition,MSKStartPosition
-
topicName
PipeSourceManagedStreamingKafkaParameters.Builder topicName(String topicName)
The name of the topic that the pipe will read from.
- Parameters:
topicName- The name of the topic that the pipe will read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-