@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SqsAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
Constructor and Description |
---|
SqsAction() |
Modifier and Type | Method and Description |
---|---|
SqsAction |
clone() |
boolean |
equals(Object obj) |
Payload |
getPayload()
You can configure the action payload when you send a message to an Amazon SQS queue.
|
String |
getQueueUrl()
The URL of the SQS queue where the data is written.
|
Boolean |
getUseBase64()
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
|
int |
hashCode() |
Boolean |
isUseBase64()
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPayload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
|
void |
setQueueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
|
void |
setUseBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
|
String |
toString()
Returns a string representation of this object.
|
SqsAction |
withPayload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
|
SqsAction |
withQueueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
|
SqsAction |
withUseBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
|
public void setQueueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
queueUrl
- The URL of the SQS queue where the data is written.public String getQueueUrl()
The URL of the SQS queue where the data is written.
public SqsAction withQueueUrl(String queueUrl)
The URL of the SQS queue where the data is written.
queueUrl
- The URL of the SQS queue where the data is written.public void setUseBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
useBase64
- Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise,
set this to FALSE.public Boolean getUseBase64()
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
public SqsAction withUseBase64(Boolean useBase64)
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
useBase64
- Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise,
set this to FALSE.public Boolean isUseBase64()
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.
public void setPayload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
payload
- You can configure the action payload when you send a message to an Amazon SQS queue.public Payload getPayload()
You can configure the action payload when you send a message to an Amazon SQS queue.
public SqsAction withPayload(Payload payload)
You can configure the action payload when you send a message to an Amazon SQS queue.
payload
- You can configure the action payload when you send a message to an Amazon SQS queue.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.