org.jclouds.sqs.domain
Class Message

java.lang.Object
  extended by org.jclouds.sqs.domain.Message

public class Message
extends Object

Author:
Adrian Cole
See Also:
doc

Nested Class Summary
static class Message.Builder
           
 
Method Summary
static Message.Builder builder()
           
 boolean equals(Object obj)
           
 Map<String,String> getAttributes()
          Attributes of the queue
 String getBody()
          The message's contents (not URL encoded)
 String getId()
          The message's SQS-assigned ID.
 com.google.common.hash.HashCode getMD5()
          An MD5 digest of the non-URL-encoded message body string
 String getReceiptHandle()
          A string associated with a specific instance of receiving the message.
 int hashCode()
           
 Message.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

builder

public static Message.Builder builder()

toBuilder

public Message.Builder toBuilder()

getId

public String getId()
The message's SQS-assigned ID.


getBody

public String getBody()
The message's contents (not URL encoded)


getReceiptHandle

public String getReceiptHandle()
A string associated with a specific instance of receiving the message.


getMD5

public com.google.common.hash.HashCode getMD5()
An MD5 digest of the non-URL-encoded message body string


getAttributes

public Map<String,String> getAttributes()
Attributes of the queue


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.