@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqsAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action to publish data to an Amazon SQS queue.
Constructor and Description |
---|
SqsAction() |
Modifier and Type | Method and 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.public String getRoleArn()
The ARN of the IAM role that grants access.
public SqsAction withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.public void setQueueUrl(String queueUrl)
The URL of the Amazon SQS queue.
queueUrl
- The URL of the Amazon SQS queue.public String getQueueUrl()
The URL of the Amazon SQS queue.
public SqsAction withQueueUrl(String queueUrl)
The URL of the Amazon SQS queue.
queueUrl
- The URL of the Amazon SQS queue.public void setUseBase64(Boolean useBase64)
Specifies whether to use Base64 encoding.
useBase64
- Specifies whether to use Base64 encoding.public Boolean getUseBase64()
Specifies whether to use Base64 encoding.
public SqsAction withUseBase64(Boolean useBase64)
Specifies whether to use Base64 encoding.
useBase64
- Specifies whether to use Base64 encoding.public Boolean isUseBase64()
Specifies whether to use Base64 encoding.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.