Class SqsAction

java.lang.Object
com.amazonaws.services.iot.model.SqsAction
All Implemented Interfaces:
Serializable, Cloneable

public class SqsAction extends Object implements Serializable, Cloneable

Describes an action to publish data to an Amazon SQS queue.

See Also:
  • Constructor Details

    • SqsAction

      public SqsAction()
  • Method Details

    • setRoleArn

      public void setRoleArn(String roleArn)

      The ARN of the IAM role that grants access.

      Parameters:
      roleArn - The ARN of the IAM role that grants access.
    • getRoleArn

      public String getRoleArn()

      The ARN of the IAM role that grants access.

      Returns:
      The ARN of the IAM role that grants access.
    • withRoleArn

      public SqsAction withRoleArn(String roleArn)

      The ARN of the IAM role that grants access.

      Parameters:
      roleArn - The ARN of the IAM role that grants access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setQueueUrl

      public void setQueueUrl(String queueUrl)

      The URL of the Amazon SQS queue.

      Parameters:
      queueUrl - The URL of the Amazon SQS queue.
    • getQueueUrl

      public String getQueueUrl()

      The URL of the Amazon SQS queue.

      Returns:
      The URL of the Amazon SQS queue.
    • withQueueUrl

      public SqsAction withQueueUrl(String queueUrl)

      The URL of the Amazon SQS queue.

      Parameters:
      queueUrl - The URL of the Amazon SQS queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUseBase64

      public void setUseBase64(Boolean useBase64)

      Specifies whether to use Base64 encoding.

      Parameters:
      useBase64 - Specifies whether to use Base64 encoding.
    • getUseBase64

      public Boolean getUseBase64()

      Specifies whether to use Base64 encoding.

      Returns:
      Specifies whether to use Base64 encoding.
    • withUseBase64

      public SqsAction withUseBase64(Boolean useBase64)

      Specifies whether to use Base64 encoding.

      Parameters:
      useBase64 - Specifies whether to use Base64 encoding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isUseBase64

      public Boolean isUseBase64()

      Specifies whether to use Base64 encoding.

      Returns:
      Specifies whether to use Base64 encoding.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SqsAction clone()
      Overrides:
      clone in class Object