public interface Queue
Queue resource.
Each Queue object is uniquely identified by these identifier(s):
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(AddPermissionRequest request)
Performs the
AddPermission action. |
void |
addPermission(AddPermissionRequest request,
ResultCapture<Void> extractor)
Performs the
AddPermission action and use a ResultCapture to
retrieve the low-level client response. |
void |
addPermission(List<String> actions,
String label,
List<String> aWSAccountIds)
The convenient method form for the
AddPermission action. |
void |
addPermission(List<String> actions,
String label,
List<String> aWSAccountIds,
ResultCapture<Void> extractor)
The convenient method form for the
AddPermission action. |
ChangeMessageVisibilityBatchResult |
changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request)
Performs the
ChangeMessageVisibilityBatch action. |
ChangeMessageVisibilityBatchResult |
changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request,
ResultCapture<ChangeMessageVisibilityBatchResult> extractor)
Performs the
ChangeMessageVisibilityBatch action and use a
ResultCapture to retrieve the low-level client response. |
ChangeMessageVisibilityBatchResult |
changeMessageVisibilityBatch(List<ChangeMessageVisibilityBatchRequestEntry> entries)
The convenient method form for the
ChangeMessageVisibilityBatch action. |
ChangeMessageVisibilityBatchResult |
changeMessageVisibilityBatch(List<ChangeMessageVisibilityBatchRequestEntry> entries,
ResultCapture<ChangeMessageVisibilityBatchResult> extractor)
The convenient method form for the
ChangeMessageVisibilityBatch action. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteQueueRequest request)
Performs the
Delete action. |
void |
delete(DeleteQueueRequest 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. |
DeleteMessageBatchResult |
deleteMessages()
The convenient method form for the
DeleteMessages action. |
DeleteMessageBatchResult |
deleteMessages(DeleteMessageBatchRequest request)
Performs the
DeleteMessages action. |
DeleteMessageBatchResult |
deleteMessages(DeleteMessageBatchRequest request,
ResultCapture<DeleteMessageBatchResult> extractor)
Performs the
DeleteMessages action and use a ResultCapture
to retrieve the low-level client response. |
DeleteMessageBatchResult |
deleteMessages(List<DeleteMessageBatchRequestEntry> entries)
The convenient method form for the
DeleteMessages action. |
DeleteMessageBatchResult |
deleteMessages(List<DeleteMessageBatchRequestEntry> entries,
ResultCapture<DeleteMessageBatchResult> extractor)
The convenient method form for the
DeleteMessages action. |
DeleteMessageBatchResult |
deleteMessages(ResultCapture<DeleteMessageBatchResult> extractor)
The convenient method form for the
DeleteMessages action. |
Map<String,String> |
getAttributes()
Gets the value of the Attributes attribute.
|
QueueCollection |
getDeadLetterSourceQueues()
Retrieves the DeadLetterSourceQueues collection referenced by this
resource.
|
QueueCollection |
getDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request)
Retrieves the DeadLetterSourceQueues collection referenced by this
resource.
|
Message |
getMessage(String receiptHandle)
Gets a subresource.
|
String |
getUrl()
Gets the value of the Url identifier.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean |
load()
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetQueueAttributesRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(GetQueueAttributesRequest request,
ResultCapture<GetQueueAttributesResult> extractor)
Makes a call to the service to load this resource's attributes if they
are not loaded yet, and use a ResultCapture to retrieve the low-level
client response
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier. |
List<Message> |
receiveMessages()
The convenient method form for the
ReceiveMessages action. |
List<Message> |
receiveMessages(ReceiveMessageRequest request)
Performs the
ReceiveMessages action. |
List<Message> |
receiveMessages(ReceiveMessageRequest request,
ResultCapture<ReceiveMessageResult> extractor)
Performs the
ReceiveMessages action and use a ResultCapture
to retrieve the low-level client response. |
List<Message> |
receiveMessages(ResultCapture<ReceiveMessageResult> extractor)
The convenient method form for the
ReceiveMessages action. |
void |
removePermission(RemovePermissionRequest request)
Performs the
RemovePermission action. |
void |
removePermission(RemovePermissionRequest request,
ResultCapture<Void> extractor)
Performs the
RemovePermission action and use a ResultCapture
to retrieve the low-level client response. |
void |
removePermission(String label)
The convenient method form for the
RemovePermission action. |
void |
removePermission(String label,
ResultCapture<Void> extractor)
The convenient method form for the
RemovePermission action. |
SendMessageResult |
sendMessage(SendMessageRequest request)
Performs the
SendMessage action. |
SendMessageResult |
sendMessage(SendMessageRequest request,
ResultCapture<SendMessageResult> extractor)
Performs the
SendMessage action and use a ResultCapture to
retrieve the low-level client response. |
SendMessageResult |
sendMessage(String messageBody)
The convenient method form for the
SendMessage action. |
SendMessageResult |
sendMessage(String messageBody,
ResultCapture<SendMessageResult> extractor)
The convenient method form for the
SendMessage action. |
SendMessageBatchResult |
sendMessages()
The convenient method form for the
SendMessages action. |
SendMessageBatchResult |
sendMessages(List<SendMessageBatchRequestEntry> entries)
The convenient method form for the
SendMessages action. |
SendMessageBatchResult |
sendMessages(List<SendMessageBatchRequestEntry> entries,
ResultCapture<SendMessageBatchResult> extractor)
The convenient method form for the
SendMessages action. |
SendMessageBatchResult |
sendMessages(ResultCapture<SendMessageBatchResult> extractor)
The convenient method form for the
SendMessages action. |
SendMessageBatchResult |
sendMessages(SendMessageBatchRequest request)
Performs the
SendMessages action. |
SendMessageBatchResult |
sendMessages(SendMessageBatchRequest request,
ResultCapture<SendMessageBatchResult> extractor)
Performs the
SendMessages action and use a ResultCapture to
retrieve the low-level client response. |
void |
setAttributes(Map<String,String> attributes)
The convenient method form for the
SetAttributes action. |
void |
setAttributes(Map<String,String> attributes,
ResultCapture<Void> extractor)
The convenient method form for the
SetAttributes action. |
void |
setAttributes(SetQueueAttributesRequest request)
Performs the
SetAttributes action. |
void |
setAttributes(SetQueueAttributesRequest request,
ResultCapture<Void> extractor)
Performs the
SetAttributes action and use a ResultCapture to
retrieve the low-level client response. |
boolean isLoaded()
false, calls to attribute getter methods on this
instance will make an implicit call to load() to retrieve the
value.boolean load()
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.load(GetQueueAttributesRequest)boolean load(GetQueueAttributesRequest request)
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
AttributeNames.0
- constant value All.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetQueueAttributesRequestboolean load(GetQueueAttributesRequest request, ResultCapture<GetQueueAttributesResult> extractor)
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
AttributeNames.0
- constant value All.
true if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.GetQueueAttributesRequestString getUrl()
Map<String,String> getAttributes()
load() is made to retrieve the value of the
attribute.QueueCollection getDeadLetterSourceQueues()
QueueCollection getDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request)
void setAttributes(SetQueueAttributesRequest request)
SetAttributes action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SetQueueAttributesRequestvoid setAttributes(SetQueueAttributesRequest request, ResultCapture<Void> extractor)
SetAttributes action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SetQueueAttributesRequestvoid setAttributes(Map<String,String> attributes)
SetAttributes action.void setAttributes(Map<String,String> attributes, ResultCapture<Void> extractor)
SetAttributes action.void addPermission(AddPermissionRequest request)
AddPermission action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
AddPermissionRequestvoid addPermission(AddPermissionRequest request, ResultCapture<Void> extractor)
AddPermission action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
AddPermissionRequestvoid addPermission(List<String> actions, String label, List<String> aWSAccountIds)
AddPermission action.addPermission(AddPermissionRequest)void addPermission(List<String> actions, String label, List<String> aWSAccountIds, ResultCapture<Void> extractor)
AddPermission action.SendMessageResult sendMessage(SendMessageRequest request)
SendMessage action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SendMessageRequestSendMessageResult sendMessage(SendMessageRequest request, ResultCapture<SendMessageResult> extractor)
SendMessage action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SendMessageRequestSendMessageResult sendMessage(String messageBody)
SendMessage action.sendMessage(SendMessageRequest)SendMessageResult sendMessage(String messageBody, ResultCapture<SendMessageResult> extractor)
SendMessage action.DeleteMessageBatchResult deleteMessages(DeleteMessageBatchRequest request)
DeleteMessages action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
DeleteMessageBatchRequestDeleteMessageBatchResult deleteMessages(DeleteMessageBatchRequest request, ResultCapture<DeleteMessageBatchResult> extractor)
DeleteMessages action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
DeleteMessageBatchRequestDeleteMessageBatchResult deleteMessages()
DeleteMessages action.DeleteMessageBatchResult deleteMessages(ResultCapture<DeleteMessageBatchResult> extractor)
DeleteMessages action.DeleteMessageBatchResult deleteMessages(List<DeleteMessageBatchRequestEntry> entries)
DeleteMessages action.DeleteMessageBatchResult deleteMessages(List<DeleteMessageBatchRequestEntry> entries, ResultCapture<DeleteMessageBatchResult> extractor)
DeleteMessages action.List<Message> receiveMessages(ReceiveMessageRequest request)
ReceiveMessages action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
Message resource objects associated with
the result of this action.ReceiveMessageRequestList<Message> receiveMessages(ReceiveMessageRequest request, ResultCapture<ReceiveMessageResult> extractor)
ReceiveMessages action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
Message resource objects associated with
the result of this action.ReceiveMessageRequestList<Message> receiveMessages()
ReceiveMessages action.List<Message> receiveMessages(ResultCapture<ReceiveMessageResult> extractor)
ReceiveMessages action.void delete(DeleteQueueRequest request)
Delete action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
DeleteQueueRequestvoid delete(DeleteQueueRequest 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
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
DeleteQueueRequestvoid delete()
Delete action.delete(DeleteQueueRequest)void delete(ResultCapture<Void> extractor)
Delete action.ChangeMessageVisibilityBatchResult changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request)
ChangeMessageVisibilityBatch action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
ChangeMessageVisibilityBatchRequestChangeMessageVisibilityBatchResult changeMessageVisibilityBatch(ChangeMessageVisibilityBatchRequest request, ResultCapture<ChangeMessageVisibilityBatchResult> extractor)
ChangeMessageVisibilityBatch action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
ChangeMessageVisibilityBatchRequestChangeMessageVisibilityBatchResult changeMessageVisibilityBatch(List<ChangeMessageVisibilityBatchRequestEntry> entries)
ChangeMessageVisibilityBatch action.ChangeMessageVisibilityBatchResult changeMessageVisibilityBatch(List<ChangeMessageVisibilityBatchRequestEntry> entries, ResultCapture<ChangeMessageVisibilityBatchResult> extractor)
ChangeMessageVisibilityBatch action.SendMessageBatchResult sendMessages(SendMessageBatchRequest request)
SendMessages action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SendMessageBatchRequestSendMessageBatchResult sendMessages(SendMessageBatchRequest request, ResultCapture<SendMessageBatchResult> extractor)
SendMessages action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
SendMessageBatchRequestSendMessageBatchResult sendMessages()
SendMessages action.SendMessageBatchResult sendMessages(ResultCapture<SendMessageBatchResult> extractor)
SendMessages action.SendMessageBatchResult sendMessages(List<SendMessageBatchRequestEntry> entries)
SendMessages action.SendMessageBatchResult sendMessages(List<SendMessageBatchRequestEntry> entries, ResultCapture<SendMessageBatchResult> extractor)
SendMessages action.void removePermission(RemovePermissionRequest request)
RemovePermission action.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
RemovePermissionRequestvoid removePermission(RemovePermissionRequest request, ResultCapture<Void> extractor)
RemovePermission action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Queue resource, and any conflicting parameter value set in
the request will be overridden:
QueueUrl
- mapped from the Url identifier.
RemovePermissionRequestvoid removePermission(String label)
RemovePermission action.void removePermission(String label, ResultCapture<Void> extractor)
RemovePermission action.Copyright © 2014. All rights reserved.