Package com.amazonaws.services.iot.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SqsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqsActionclone()booleanequals(Object obj)StringgetQueueUrl()The URL of the Amazon SQS queue.StringgetRoleArn()The ARN of the IAM role that grants access.BooleangetUseBase64()Specifies whether to use Base64 encoding.inthashCode()BooleanisUseBase64()Specifies whether to use Base64 encoding.voidsetQueueUrl(String queueUrl)The URL of the Amazon SQS queue.voidsetRoleArn(String roleArn)The ARN of the IAM role that grants access.voidsetUseBase64(Boolean useBase64)Specifies whether to use Base64 encoding.StringtoString()Returns a string representation of this object; useful for testing and debugging.SqsActionwithQueueUrl(String queueUrl)The URL of the Amazon SQS queue.SqsActionwithRoleArn(String roleArn)The ARN of the IAM role that grants access.SqsActionwithUseBase64(Boolean useBase64)Specifies whether to use Base64 encoding.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-