message

Configures the message for the task.

Return

The updated TaskSendParamsBuilder instance for method chaining.

Parameters

init

The lambda to configure the message using the MessageBuilder.


Configures the message for the task using a Java-friendly Consumer.

Return

The updated TaskSendParamsBuilder instance for method chaining.

Parameters

init

The consumer to configure the message.