Interface UpdatePipeSourceManagedStreamingKafkaParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdatePipeSourceManagedStreamingKafkaParameters.Builder,
,UpdatePipeSourceManagedStreamingKafkaParameters> SdkBuilder<UpdatePipeSourceManagedStreamingKafkaParameters.Builder,
,UpdatePipeSourceManagedStreamingKafkaParameters> SdkPojo
- Enclosing class:
UpdatePipeSourceManagedStreamingKafkaParameters
public static interface UpdatePipeSourceManagedStreamingKafkaParameters.Builder
extends SdkPojo, CopyableBuilder<UpdatePipeSourceManagedStreamingKafkaParameters.Builder,UpdatePipeSourceManagedStreamingKafkaParameters>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of records to include in each batch.credentials
(Consumer<MSKAccessCredentials.Builder> credentials) The credentials needed to access the resource.credentials
(MSKAccessCredentials credentials) The credentials needed to access the resource.maximumBatchingWindowInSeconds
(Integer maximumBatchingWindowInSeconds) The maximum length of a time to wait for events.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 Details
-
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.
-
credentials
UpdatePipeSourceManagedStreamingKafkaParameters.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 UpdatePipeSourceManagedStreamingKafkaParameters.Builder credentials(Consumer<MSKAccessCredentials.Builder> credentials) The credentials needed to access the resource.
This is a convenience method that creates an instance of theMSKAccessCredentials.Builder
avoiding the need to create one manually viaMSKAccessCredentials.builder()
.When the
Consumer
completes,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:
-
maximumBatchingWindowInSeconds
UpdatePipeSourceManagedStreamingKafkaParameters.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.
-