Packagecom.amazonaws.services.sqs.model
Classpublic class SendMessageRequest
InheritanceSendMessageRequest Inheritance AmazonWebServiceRequest Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : February 1. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Container for the parameters to the SendMessage operation. The SendMessage action delivers a message to the specified queue.



Public Methods
 MethodDefined By
  
SendMessageRequest(queueUrl:String = null, messageBody:String = null)
Constructs a new SendMessageRequest object.
SendMessageRequest
  
The message to send (String maximum 64 KB in size).
SendMessageRequest
  
getQueueUrl():String
The queue URL.
SendMessageRequest
  
setMessageBody(messageBody:String):void
The message to send (String maximum 64 KB in size).
SendMessageRequest
  
setQueueUrl(queueUrl:String):void
Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
SendMessageRequest
  
toString():String
Returns a string representation of this object; useful for testing and debugging.
SendMessageRequest
  
The message to send (String maximum 64 KB in size).
SendMessageRequest
  
withQueueUrl(queueUrl:String):void
Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
SendMessageRequest
Constructor Detail
SendMessageRequest()Constructor
public function SendMessageRequest(queueUrl:String = null, messageBody:String = null)

Constructs a new SendMessageRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters
queueUrl:String (default = null) — queue URL (http|https://endpoint/12digitOwnerAccountId/QueueName)
 
messageBody:String (default = null) — The message to send (String maximum 64 KB in size)

IMPORTANT: If you send any characters not included in the list, your request will be rejected. Allowed UTF-8 characters: #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]
Method Detail
getMessageBody()method
public function getMessageBody():String

The message to send (String maximum 64 KB in size).

Returns
String — The message to send.
getQueueUrl()method 
public function getQueueUrl():String

The queue URL. (http|https://endpoint/12digitOwnerAccountId/QueueName).

Returns
String — queue URL
setMessageBody()method 
public function setMessageBody(messageBody:String):void

The message to send (String maximum 64 KB in size).

Parameters

messageBody:String — The message to send (String maximum 64 KB in size)

IMPORTANT: If you send any characters not included in the list, your request will be rejected. Allowed UTF-8 characters: #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]

setQueueUrl()method 
public function setQueueUrl(queueUrl:String):void

Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — queue URL

toString()method 
public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withMessageBody()method 
public function withMessageBody(messageBody:String):SendMessageRequest

The message to send (String maximum 64 KB in size). Returns a reference to this object so that method calls can be chained together.

Parameters

messageBody:String — The message to send (String maximum 64 KB in size)

IMPORTANT: If you send any characters not included in the list, your request will be rejected. Allowed UTF-8 characters: #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF]

Returns
SendMessageRequest — A reference to this updated object so that method calls can be chained together.
withQueueUrl()method 
public function withQueueUrl(queueUrl:String):void

Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — queue URL