Interface PipeSourceRabbitMQBrokerParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipeSourceRabbitMQBrokerParameters.Builder,
,PipeSourceRabbitMQBrokerParameters> SdkBuilder<PipeSourceRabbitMQBrokerParameters.Builder,
,PipeSourceRabbitMQBrokerParameters> SdkPojo
- Enclosing class:
PipeSourceRabbitMQBrokerParameters
@Mutable
@NotThreadSafe
public static interface PipeSourceRabbitMQBrokerParameters.Builder
extends SdkPojo, CopyableBuilder<PipeSourceRabbitMQBrokerParameters.Builder,PipeSourceRabbitMQBrokerParameters>
-
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.virtualHost
(String virtualHost) The name of the virtual host associated with the source broker.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, 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 PipeSourceRabbitMQBrokerParameters.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:
-
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.
-
virtualHost
The name of the virtual host associated with the source broker.
- Parameters:
virtualHost
- The name of the virtual host associated with the source broker.- 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
PipeSourceRabbitMQBrokerParameters.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.
-