public static interface SqsAction.Builder extends SdkPojo, CopyableBuilder<SqsAction.Builder,SqsAction>
| Modifier and Type | Method and Description |
|---|---|
default SqsAction.Builder |
payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
|
SqsAction.Builder |
payload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
|
SqsAction.Builder |
queueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
|
SqsAction.Builder |
useBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSqsAction.Builder queueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
queueUrl - The URL of the SQS queue where the data is written.SqsAction.Builder useBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
useBase64 - Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
Otherwise, set this to FALSE.SqsAction.Builder payload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
payload - You can configure the action payload when you send a message to an Amazon SQS queue.default SqsAction.Builder payload(Consumer<Payload.Builder> payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
This is a convenience that creates an instance of thePayload.Builder avoiding the need to create one
manually via Payload.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to payload(Payload).payload - a consumer that will call methods on Payload.Builderpayload(Payload)Copyright © 2022. All rights reserved.