Class SqsQueueAction.Builder

java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.SqsQueueAction.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<SqsQueueAction>
Enclosing class:
SqsQueueAction

@Stability(Experimental) public static final class SqsQueueAction.Builder extends Object implements software.amazon.jsii.Builder<SqsQueueAction>
(experimental) A fluent builder for SqsQueueAction.
  • Method Details

    • create

      @Stability(Experimental) public static SqsQueueAction.Builder create(IQueue queue)
      Parameters:
      queue - The Amazon SQS queue to which to write data. This parameter is required.
      Returns:
      a new instance of SqsQueueAction.Builder.
    • role

      @Stability(Experimental) public SqsQueueAction.Builder role(IRole role)
      (experimental) The IAM role that allows access to AWS service.

      Default: a new role will be created

      Parameters:
      role - The IAM role that allows access to AWS service. This parameter is required.
      Returns:
      this
    • useBase64

      @Stability(Experimental) public SqsQueueAction.Builder useBase64(Boolean useBase64)
      (experimental) Specifies whether to use Base64 encoding.

      Default: false

      Parameters:
      useBase64 - Specifies whether to use Base64 encoding. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public SqsQueueAction build()
      Specified by:
      build in interface software.amazon.jsii.Builder<SqsQueueAction>
      Returns:
      a newly built instance of SqsQueueAction.