Interface SqsAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SqsAction.Builder,,SqsAction> SdkBuilder<SqsAction.Builder,,SqsAction> SdkPojo
- Enclosing class:
SqsAction
public static interface SqsAction.Builder
extends SdkPojo, CopyableBuilder<SqsAction.Builder,SqsAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqsAction.Builderpayload(Consumer<Payload.Builder> payload) You can configure the action payload when you send a message to an Amazon SQS queue.You can configure the action payload when you send a message to an Amazon SQS queue.The URL of the SQS queue where the data is written.Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.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, sdkFields
-
Method Details
-
queueUrl
The URL of the SQS queue where the data is written.
- Parameters:
queueUrl- The URL of the SQS queue where the data is written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
You can configure the action payload when you send a message to an Amazon SQS queue.
- Parameters:
payload- You can configure the action payload when you send a message to an Amazon SQS queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
You can configure the action payload when you send a message to an Amazon SQS queue.
This is a convenience method that creates an instance of thePayload.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(Payload).- Parameters:
payload- a consumer that will call methods onPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-