public final class QueueURL extends StorageURL
ServiceURL
object. This class does not hold any state about messages in the queue but is instead a convenient way
of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to messages in the queue.
Please refer to the
Azure Docs
for more information on queues.storageClient
Constructor and Description |
---|
QueueURL(URL url,
com.microsoft.rest.v2.http.HttpPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Single<QueueCreateResponse> |
create()
Create a queue within a storage account.
|
io.reactivex.Single<QueueCreateResponse> |
create(Metadata metadata,
com.microsoft.rest.v2.Context context)
Create a queue within a storage account.
|
MessagesURL |
createMessagesUrl()
createMessagesUrl creates a new MessagesURL object by concatenating "messages" to the end of
QueueURL's URL.
|
io.reactivex.Single<QueueDeleteResponse> |
delete()
Delete permanently deletes a queue.
|
io.reactivex.Single<QueueDeleteResponse> |
delete(com.microsoft.rest.v2.Context context)
Delete permanently deletes a queue.
|
io.reactivex.Single<QueueGetAccessPolicyResponse> |
getAccessPolicy()
GetAccessPolicy returns details about any stored access policies specified on the queue that may be used with
Shared Access Signatures.
|
io.reactivex.Single<QueueGetAccessPolicyResponse> |
getAccessPolicy(com.microsoft.rest.v2.Context context)
GetAccessPolicy returns details about any stored access policies specified on the queue that may be used with
Shared Access Signatures.
|
io.reactivex.Single<QueueGetPropertiesResponse> |
getProperties()
GetProperties retrieves queue properties and user-defined metadata and properties on the specified queue.
|
io.reactivex.Single<QueueGetPropertiesResponse> |
getProperties(com.microsoft.rest.v2.Context context)
GetProperties retrieves queue properties and user-defined metadata and properties on the specified queue.
|
io.reactivex.Single<QueueSetAccessPolicyResponse> |
setAccessPolicy(List<SignedIdentifier> identifiers)
The Set Queue ACL operation sets stored access policies for the queue that may be used with Shared Access Signatures.
|
io.reactivex.Single<QueueSetAccessPolicyResponse> |
setAccessPolicy(List<SignedIdentifier> identifiers,
com.microsoft.rest.v2.Context context)
The Set Queue ACL operation sets stored access policies for the queue that may be used with Shared Access Signatures.
|
io.reactivex.Single<QueueSetMetadataResponse> |
setMetadata(Metadata metadata)
SetMetadata sets user-defined metadata on the specified queue.
|
io.reactivex.Single<QueueSetMetadataResponse> |
setMetadata(Metadata metadata,
com.microsoft.rest.v2.Context context)
SetMetadata sets user-defined metadata on the specified queue.
|
QueueURL |
withPipeline(com.microsoft.rest.v2.http.HttpPipeline pipeline)
Creates a new
QueueURL with the given pipeline. |
appendToURLPath, createPipeline, createPipeline, createPipeline, createPipeline, toString, toURL
public QueueURL(URL url, com.microsoft.rest.v2.http.HttpPipeline pipeline)
public QueueURL withPipeline(com.microsoft.rest.v2.http.HttpPipeline pipeline)
QueueURL
with the given pipeline.pipeline
- An HttpPipeline
object to set.QueueURL
object with the given pipeline.public MessagesURL createMessagesUrl()
MessagesURL
object with existing queue's pipeline.public io.reactivex.Single<QueueCreateResponse> create()
public io.reactivex.Single<QueueCreateResponse> create(Metadata metadata, com.microsoft.rest.v2.Context context)
metadata
- Metadata
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.public io.reactivex.Single<QueueDeleteResponse> delete()
public io.reactivex.Single<QueueDeleteResponse> delete(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.public io.reactivex.Single<QueueGetPropertiesResponse> getProperties()
public io.reactivex.Single<QueueGetPropertiesResponse> getProperties(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.public io.reactivex.Single<QueueSetMetadataResponse> setMetadata(Metadata metadata)
metadata
- Metadata
public io.reactivex.Single<QueueSetMetadataResponse> setMetadata(Metadata metadata, com.microsoft.rest.v2.Context context)
metadata
- Metadata
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.public io.reactivex.Single<QueueGetAccessPolicyResponse> getAccessPolicy()
public io.reactivex.Single<QueueGetAccessPolicyResponse> getAccessPolicy(com.microsoft.rest.v2.Context context)
context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.public io.reactivex.Single<QueueSetAccessPolicyResponse> setAccessPolicy(List<SignedIdentifier> identifiers)
identifiers
- A list of SignedIdentifier
objects that specify the permissions for the queue. Please see
here
for more information. Passing null will clear all access policies.public io.reactivex.Single<QueueSetAccessPolicyResponse> setAccessPolicy(List<SignedIdentifier> identifiers, com.microsoft.rest.v2.Context context)
identifiers
- A list of SignedIdentifier
objects that specify the permissions for the queue. Please see
here
for more information. Passing null will clear all access policies.context
- Context
offers a means of passing arbitrary data (key/value pairs) to an
HttpPipeline
's policy objects. Most applications do not need to pass
arbitrary data to the pipeline and can pass Context.NONE
or null
. Each context object is
immutable. The withContext
with data method creates a new Context
object that refers to its
parent, forming a linked list.This documentation was released into the public domain.