Package com.amazonaws.services.iot.model
Class SqsAction
java.lang.Object
com.amazonaws.services.iot.model.SqsAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an action to publish data to an Amazon SQS queue.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The URL of the Amazon SQS queue.The ARN of the IAM role that grants access.Specifies whether to use Base64 encoding.int
hashCode()
Specifies whether to use Base64 encoding.void
setQueueUrl
(String queueUrl) The URL of the Amazon SQS queue.void
setRoleArn
(String roleArn) The ARN of the IAM role that grants access.void
setUseBase64
(Boolean useBase64) Specifies whether to use Base64 encoding.toString()
Returns a string representation of this object; useful for testing and debugging.withQueueUrl
(String queueUrl) The URL of the Amazon SQS queue.withRoleArn
(String roleArn) The ARN of the IAM role that grants access.withUseBase64
(Boolean useBase64) Specifies whether to use Base64 encoding.
-
Constructor Details
-
SqsAction
public SqsAction()
-
-
Method Details
-
setRoleArn
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.
-
getRoleArn
The ARN of the IAM role that grants access.
- Returns:
- The ARN of the IAM role that grants access.
-
withRoleArn
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
The URL of the Amazon SQS queue.
- Parameters:
queueUrl
- The URL of the Amazon SQS queue.
-
getQueueUrl
The URL of the Amazon SQS queue.
- Returns:
- The URL of the Amazon SQS queue.
-
withQueueUrl
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
Specifies whether to use Base64 encoding.
- Parameters:
useBase64
- Specifies whether to use Base64 encoding.
-
getUseBase64
Specifies whether to use Base64 encoding.
- Returns:
- Specifies whether to use Base64 encoding.
-
withUseBase64
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
Specifies whether to use Base64 encoding.
- Returns:
- Specifies whether to use Base64 encoding.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-