Package | com.amazonaws.services.sqs.model |
Class | public class Message |
Inheritance | Message ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Since : | February 1. 2011 |
Runtime Versions : | Flash Player 10.1, AIR 2.5 |
Method | Defined By | ||
---|---|---|---|
Message()
Default constructor for a new Message object. | Message | ||
getAttributes():Map
Returns list of attributes. | Message | ||
getBody():String
Returns message body. | Message | ||
getMD5OfBody():String
Returns MD5 of message body. | Message | ||
getMessageId():String
Returns message Id. | Message | ||
getReceiptHandle():String
Returns message receipt handle. | Message | ||
setAttributes(attributes:Map):void
Sets message attributes. | Message | ||
setBody(body:String):void
Sets message body. | Message | ||
setMD5OfBody(mD5OfBody:String):void
Sets MD5 of message body. | Message | ||
setMessageId(messageId:String):void
Sets message Id. | Message | ||
setReceiptHandle(receiptHandle:String):void
Sets message receipt handle. | Message | ||
toString():String
Returns a string representation of this object; useful for testing and debugging. | Message | ||
withAttributes(attributes:Map):Message
Returns a reference to this object so that method calls can be chained together. | Message | ||
Sets message body and returns a reference to this updated object. | Message | ||
withMD5OfBody(mD5OfBody:String):Message
Sets MD5 of message body and returns a reference to this updated object. | Message | ||
withMessageId(messageId:String):Message
Sets message Id and returns a reference to this updated object. | Message | ||
withReceiptHandle(receiptHandle:String):Message
Sets message receipt handle and returns a reference to this updated object. | Message |
Message | () | Constructor |
public function Message()
Default constructor for a new Message object.
getAttributes | () | method |
public function getAttributes():Map
Returns list of attributes.
ReturnsMap — List of attributes.
|
getBody | () | method |
public function getBody():String
Returns message body.
ReturnsString — message body.
|
getMD5OfBody | () | method |
public function getMD5OfBody():String
Returns MD5 of message body.
ReturnsString — MD5 of message body.
|
getMessageId | () | method |
public function getMessageId():String
Returns message Id.
ReturnsString — message Id.
|
getReceiptHandle | () | method |
public function getReceiptHandle():String
Returns message receipt handle.
ReturnsString — message receipt handle.
|
setAttributes | () | method |
public function setAttributes(attributes:Map):void
Sets message attributes.
Parameters
attributes:Map — message attributes.
|
setBody | () | method |
public function setBody(body:String):void
Sets message body.
Parameters
body:String — message body (UTF-8 supported).
|
setMD5OfBody | () | method |
public function setMD5OfBody(mD5OfBody:String):void
Sets MD5 of message body.
Parameters
mD5OfBody:String — MD5 of message body.
|
setMessageId | () | method |
public function setMessageId(messageId:String):void
Sets message Id.
Parameters
messageId:String — message Id.
|
setReceiptHandle | () | method |
public function setReceiptHandle(receiptHandle:String):void
Sets message receipt handle.
Parameters
receiptHandle:String — message receipt handle.
|
toString | () | method |
public function toString():String
Returns a string representation of this object; useful for testing and debugging.
ReturnsString — A string representation of this object.
|
withAttributes | () | method |
public function withAttributes(attributes:Map):Message
Returns a reference to this object so that method calls can be chained together.
Parameters
attributes:Map — message attributes.
|
Message — A reference to this updated object so that method calls can be chained together.
|
withBody | () | method |
public function withBody(body:String):Message
Sets message body and returns a reference to this updated object.
Parameters
body:String — message body.
|
Message — A reference to this updated object so that method calls can be chained together.
|
withMD5OfBody | () | method |
public function withMD5OfBody(mD5OfBody:String):Message
Sets MD5 of message body and returns a reference to this updated object.
Parameters
mD5OfBody:String |
Message — A reference to this updated object so that method calls can be chained together.
|
withMessageId | () | method |
public function withMessageId(messageId:String):Message
Sets message Id and returns a reference to this updated object.
Parameters
messageId:String |
Message — A reference to this updated object so that method calls can be chained together.
|
withReceiptHandle | () | method |
public function withReceiptHandle(receiptHandle:String):Message
Sets message receipt handle and returns a reference to this updated object.
Parameters
receiptHandle:String — message receipt handle.
|
Message — A reference to this updated object so that method calls can be chained together.
|