Interface UpdatePipeSourceActiveMQBrokerParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdatePipeSourceActiveMQBrokerParameters.Builder,
,UpdatePipeSourceActiveMQBrokerParameters> SdkBuilder<UpdatePipeSourceActiveMQBrokerParameters.Builder,
,UpdatePipeSourceActiveMQBrokerParameters> SdkPojo
- Enclosing class:
UpdatePipeSourceActiveMQBrokerParameters
public static interface UpdatePipeSourceActiveMQBrokerParameters.Builder
extends SdkPojo, CopyableBuilder<UpdatePipeSourceActiveMQBrokerParameters.Builder,UpdatePipeSourceActiveMQBrokerParameters>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of records to include in each batch.credentials
(Consumer<MQBrokerAccessCredentials.Builder> credentials) The credentials needed to access the resource.credentials
(MQBrokerAccessCredentials 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
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 UpdatePipeSourceActiveMQBrokerParameters.Builder credentials(Consumer<MQBrokerAccessCredentials.Builder> credentials) The credentials needed to access the resource.
This is a convenience method that creates an instance of theMQBrokerAccessCredentials.Builder
avoiding the need to create one manually viaMQBrokerAccessCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(MQBrokerAccessCredentials)
.- Parameters:
credentials
- a consumer that will call methods onMQBrokerAccessCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maximumBatchingWindowInSeconds
UpdatePipeSourceActiveMQBrokerParameters.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.
-