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 SqsAction
clone()
boolean
equals(Object obj)
String
getQueueUrl()
The URL of the Amazon SQS queue.String
getRoleArn()
The ARN of the IAM role that grants access.Boolean
getUseBase64()
Specifies whether to use Base64 encoding.int
hashCode()
Boolean
isUseBase64()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.SqsAction
withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue.SqsAction
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.SqsAction
withUseBase64(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-