Package org.jclouds.sqs.domain
Class Message.Builder
- java.lang.Object
-
- org.jclouds.sqs.domain.Message.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message.Builder
addAttribute(String name, String value)
Message.Builder
attributes(Map<String,String> attributes)
Message.Builder
body(String body)
Message
build()
Message.Builder
fromMessage(Message in)
Message.Builder
id(String id)
Message.Builder
md5(com.google.common.hash.HashCode md5)
Message.Builder
receiptHandle(String receiptHandle)
-
-
-
Method Detail
-
id
public Message.Builder id(String id)
- See Also:
Message.getId()
-
body
public Message.Builder body(String body)
- See Also:
Message.getBody()
-
receiptHandle
public Message.Builder receiptHandle(String receiptHandle)
- See Also:
Message.getReceiptHandle()
-
md5
public Message.Builder md5(com.google.common.hash.HashCode md5)
- See Also:
Message.getMD5()
-
attributes
public Message.Builder attributes(Map<String,String> attributes)
- See Also:
Message.getAttributes()
-
addAttribute
public Message.Builder addAttribute(String name, String value)
- See Also:
Message.getAttributes()
-
build
public Message build()
-
fromMessage
public Message.Builder fromMessage(Message in)
-
-