public interface Message
Message resource.
Each Message object is uniquely identified by these
identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
changeVisibility(ChangeMessageVisibilityRequest request)
Performs the
ChangeVisibility action. |
void |
changeVisibility(ChangeMessageVisibilityRequest request,
ResultCapture<Void> extractor)
Performs the
ChangeVisibility action and use a ResultCapture
to retrieve the low-level client response. |
void |
changeVisibility(Integer visibilityTimeout)
The convenient method form for the
ChangeVisibility action. |
void |
changeVisibility(Integer visibilityTimeout,
ResultCapture<Void> extractor)
The convenient method form for the
ChangeVisibility action. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteMessageRequest request)
Performs the
Delete action. |
void |
delete(DeleteMessageRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(ResultCapture<Void> extractor)
The convenient method form for the
Delete action. |
Map<String,String> |
getAttributes()
Gets the value of the Attributes attribute.
|
String |
getBody()
Gets the value of the Body attribute.
|
String |
getMD5OfBody()
Gets the value of the MD5OfBody attribute.
|
String |
getMD5OfMessageAttributes()
Gets the value of the MD5OfMessageAttributes attribute.
|
Map<String,MessageAttributeValue> |
getMessageAttributes()
Gets the value of the MessageAttributes attribute.
|
String |
getMessageId()
Gets the value of the MessageId attribute.
|
Queue |
getQueue()
Retrieves the
Queue resource referenced by this resource. |
String |
getQueueUrl()
Gets the value of the QueueUrl identifier.
|
String |
getReceiptHandle()
Gets the value of the ReceiptHandle identifier.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean isLoaded()
false, calls to attribute getter methods on this
instance will make an implicit call to load() to retrieve the
value.String getReceiptHandle()
String getQueueUrl()
Map<String,String> getAttributes()
load() is made to retrieve the value of the
attribute.String getBody()
load() is made to retrieve the value of the attribute.String getMD5OfMessageAttributes()
load() is made to retrieve the value
of the attribute.Map<String,MessageAttributeValue> getMessageAttributes()
load() is made to retrieve the value of
the attribute.String getMessageId()
load() is made to retrieve the value of the
attribute.String getMD5OfBody()
load() is made to retrieve the value of the
attribute.Queue getQueue()
Queue resource referenced by this resource.void changeVisibility(ChangeMessageVisibilityRequest request)
ChangeVisibility action.
The following request parameters will be populated from the data of this
Message resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the QueueUrl identifier.
ReceiptHandle
- mapped from the ReceiptHandle identifier.
ChangeMessageVisibilityRequestvoid changeVisibility(ChangeMessageVisibilityRequest request, ResultCapture<Void> extractor)
ChangeVisibility action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Message resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the QueueUrl identifier.
ReceiptHandle
- mapped from the ReceiptHandle identifier.
ChangeMessageVisibilityRequestvoid changeVisibility(Integer visibilityTimeout)
ChangeVisibility action.void changeVisibility(Integer visibilityTimeout, ResultCapture<Void> extractor)
ChangeVisibility action.void delete(DeleteMessageRequest request)
Delete action.
The following request parameters will be populated from the data of this
Message resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the QueueUrl identifier.
ReceiptHandle
- mapped from the ReceiptHandle identifier.
DeleteMessageRequestvoid delete(DeleteMessageRequest request, ResultCapture<Void> extractor)
Delete action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Message resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the QueueUrl identifier.
ReceiptHandle
- mapped from the ReceiptHandle identifier.
DeleteMessageRequestvoid delete()
Delete action.delete(DeleteMessageRequest)void delete(ResultCapture<Void> extractor)
Delete action.Copyright © 2014. All rights reserved.