|
|||||||
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 | |
---|---|
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 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 |