|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.sqs.model.Message
public class Message
Constructor Summary | |
---|---|
Message()
Default constructor for a new Message object. |
Method Summary | |
---|---|
Message |
addAttributesEntry(String key,
String value)
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together. |
Message |
clearAttributesEntries()
Removes all the entries added into Attributes. |
boolean |
equals(Object obj)
|
Map<String,String> |
getAttributes()
|
String |
getBody()
|
String |
getMD5OfBody()
|
String |
getMessageId()
|
String |
getReceiptHandle()
|
int |
hashCode()
|
void |
setAttributes(Map<String,String> attributes)
|
void |
setBody(String body)
|
void |
setMD5OfBody(String mD5OfBody)
|
void |
setMessageId(String messageId)
|
void |
setReceiptHandle(String receiptHandle)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Message |
withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together. |
Message |
withBody(String body)
Returns a reference to this object so that method calls can be chained together. |
Message |
withMD5OfBody(String mD5OfBody)
Returns a reference to this object so that method calls can be chained together. |
Message |
withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together. |
Message |
withReceiptHandle(String receiptHandle)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Message()
Method Detail |
---|
public String getMessageId()
public void setMessageId(String messageId)
messageId
- public Message withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together.
messageId
-
public String getReceiptHandle()
public void setReceiptHandle(String receiptHandle)
receiptHandle
- public Message withReceiptHandle(String receiptHandle)
Returns a reference to this object so that method calls can be chained together.
receiptHandle
-
public String getMD5OfBody()
public void setMD5OfBody(String mD5OfBody)
mD5OfBody
- public Message withMD5OfBody(String mD5OfBody)
Returns a reference to this object so that method calls can be chained together.
mD5OfBody
-
public String getBody()
public void setBody(String body)
body
- public Message withBody(String body)
Returns a reference to this object so that method calls can be chained together.
body
-
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- public Message withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes
-
public Message addAttributesEntry(String key, String value)
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Attributes.value
- The corresponding value of the entry to be added into Attributes.public Message clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |