Interface PipeSourceActiveMQBrokerParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipeSourceActiveMQBrokerParameters.Builder,,PipeSourceActiveMQBrokerParameters> SdkBuilder<PipeSourceActiveMQBrokerParameters.Builder,,PipeSourceActiveMQBrokerParameters> SdkPojo
- Enclosing class:
PipeSourceActiveMQBrokerParameters
public static interface PipeSourceActiveMQBrokerParameters.Builder
extends SdkPojo, CopyableBuilder<PipeSourceActiveMQBrokerParameters.Builder,PipeSourceActiveMQBrokerParameters>
-
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.The name of the destination queue to consume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 PipeSourceActiveMQBrokerParameters.Builder credentials(Consumer<MQBrokerAccessCredentials.Builder> credentials) The credentials needed to access the resource.
This is a convenience method that creates an instance of theMQBrokerAccessCredentials.Builderavoiding the need to create one manually viaMQBrokerAccessCredentials.builder().When the
Consumercompletes,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:
-
queueName
The name of the destination queue to consume.
- Parameters:
queueName- The name of the destination queue to consume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
maximumBatchingWindowInSeconds
PipeSourceActiveMQBrokerParameters.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.
-