public class SqsAction extends Object implements Serializable
Describes an action to publish data to an Amazon SQS queue.
| Constructor and Description |
|---|
SqsAction() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The ARN of the IAM role that grants access.public SqsAction withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access.public String getQueueUrl()
public void setQueueUrl(String queueUrl)
queueUrl - The URL of the Amazon SQS queue.public SqsAction withQueueUrl(String queueUrl)
Returns a reference to this object so that method calls can be chained together.
queueUrl - The URL of the Amazon SQS queue.public Boolean isUseBase64()
public void setUseBase64(Boolean useBase64)
useBase64 - Specifies whether to use Base64 encoding.public SqsAction withUseBase64(Boolean useBase64)
Returns a reference to this object so that method calls can be chained together.
useBase64 - Specifies whether to use Base64 encoding.public Boolean getUseBase64()
public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.