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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdatePipeSourceManagedStreamingKafkaParameters.BuilderbatchSize(Integer batchSize)The maximum number of records to include in each batch.default UpdatePipeSourceManagedStreamingKafkaParameters.Buildercredentials(Consumer<MSKAccessCredentials.Builder> credentials)The credentials needed to access the resource.UpdatePipeSourceManagedStreamingKafkaParameters.Buildercredentials(MSKAccessCredentials credentials)The credentials needed to access the resource.UpdatePipeSourceManagedStreamingKafkaParameters.BuildermaximumBatchingWindowInSeconds(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 Detail
-
batchSize
UpdatePipeSourceManagedStreamingKafkaParameters.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.
-
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.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
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.
-
-