|
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
Message
| Constructor Summary | |
|---|---|
Message()
Default constructor for a new Message object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Map<String,String> |
getAttributes()
Returns the value of the Attributes property for this object. |
String |
getBody()
Returns the value of the Body property for this object. |
String |
getMD5OfBody()
Returns the value of the MD5OfBody property for this object. |
String |
getMessageId()
Returns the value of the MessageId property for this object. |
String |
getReceiptHandle()
Returns the value of the ReceiptHandle property for this object. |
int |
hashCode()
|
void |
setAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object. |
void |
setBody(String body)
Sets the value of the Body property for this object. |
void |
setMD5OfBody(String mD5OfBody)
Sets the value of the MD5OfBody property for this object. |
void |
setMessageId(String messageId)
Sets the value of the MessageId property for this object. |
void |
setReceiptHandle(String receiptHandle)
Sets the value of the ReceiptHandle property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Message |
withAttributes(Map<String,String> attributes)
Sets the value of the Attributes property for this object. |
Message |
withBody(String body)
Sets the value of the Body property for this object. |
Message |
withMD5OfBody(String mD5OfBody)
Sets the value of the MD5OfBody property for this object. |
Message |
withMessageId(String messageId)
Sets the value of the MessageId property for this object. |
Message |
withReceiptHandle(String receiptHandle)
Sets the value of the ReceiptHandle property for this object. |
| 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 - The new value for the MessageId property for this object.public Message withMessageId(String messageId)
Returns a reference to this object so that method calls can be chained together.
messageId - The new value for the MessageId property for this object.
public String getReceiptHandle()
public void setReceiptHandle(String receiptHandle)
receiptHandle - The new value for the ReceiptHandle property for this object.public Message withReceiptHandle(String receiptHandle)
Returns a reference to this object so that method calls can be chained together.
receiptHandle - The new value for the ReceiptHandle property for this object.
public String getMD5OfBody()
public void setMD5OfBody(String mD5OfBody)
mD5OfBody - The new value for the MD5OfBody property for this object.public Message withMD5OfBody(String mD5OfBody)
Returns a reference to this object so that method calls can be chained together.
mD5OfBody - The new value for the MD5OfBody property for this object.
public String getBody()
public void setBody(String body)
body - The new value for the Body property for this object.public Message withBody(String body)
Returns a reference to this object so that method calls can be chained together.
body - The new value for the Body property for this object.
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes - The new value for the Attributes property for this object.public Message withAttributes(Map<String,String> attributes)
Returns a reference to this object so that method calls can be chained together.
attributes - The new value for the Attributes property for this object.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||