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 Details

    • queueUrl

      SqsAction.Builder queueUrl(String 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

      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.

      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

      SqsAction.Builder payload(Payload 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

      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 method that creates an instance of the Payload.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).

      Parameters:
      payload - a consumer that will call methods on Payload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: