public class SqsAction
extends java.lang.Object
implements java.io.Serializable
Describes an action to publish data to an Amazon SQS queue.
Constructor and Description |
---|
SqsAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getQueueUrl()
The URL of the Amazon SQS queue.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that grants access.
|
java.lang.Boolean |
getUseBase64()
Specifies whether to use Base64 encoding.
|
int |
hashCode() |
java.lang.Boolean |
isUseBase64()
Specifies whether to use Base64 encoding.
|
void |
setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
|
void |
setUseBase64(java.lang.Boolean useBase64)
Specifies whether to use Base64 encoding.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SqsAction |
withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue.
|
SqsAction |
withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
|
SqsAction |
withUseBase64(java.lang.Boolean useBase64)
Specifies whether to use Base64 encoding.
|
public java.lang.String getRoleArn()
The ARN of the IAM role that grants access.
The ARN of the IAM role that grants access.
public void setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.
public SqsAction withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access.
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 java.lang.String getQueueUrl()
The URL of the Amazon SQS queue.
The URL of the Amazon SQS queue.
public void setQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue.
queueUrl
- The URL of the Amazon SQS queue.
public SqsAction withQueueUrl(java.lang.String queueUrl)
The URL of the Amazon SQS queue.
Returns a reference to this object so that method calls can be chained together.
queueUrl
- The URL of the Amazon SQS queue.
public java.lang.Boolean isUseBase64()
Specifies whether to use Base64 encoding.
Specifies whether to use Base64 encoding.
public java.lang.Boolean getUseBase64()
Specifies whether to use Base64 encoding.
Specifies whether to use Base64 encoding.
public void setUseBase64(java.lang.Boolean useBase64)
Specifies whether to use Base64 encoding.
useBase64
- Specifies whether to use Base64 encoding.
public SqsAction withUseBase64(java.lang.Boolean useBase64)
Specifies whether to use Base64 encoding.
Returns a reference to this object so that method calls can be chained together.
useBase64
- Specifies whether to use Base64 encoding.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.