Package com.azure.storage.queue.models
Class QueueProperties
- java.lang.Object
-
- com.azure.storage.queue.models.QueueProperties
-
public final class QueueProperties extends Object
Model class containing properties of a specific queue in the storage Queue service.
-
-
Constructor Summary
Constructors Constructor Description QueueProperties(Map<String,String> metadata, int approximateMessagesCount)Creates an instance that contains properties of a queue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetApproximateMessagesCount()Gets the approximate number of messages contained in the queue at the time of properties retrieval.Map<String,String>getMetadata()Gets the user-defined metadata associated with the queue.
-
-
-
Method Detail
-
getMetadata
public Map<String,String> getMetadata()
Gets the user-defined metadata associated with the queue.- Returns:
- The user-defined metadata associated with the queue.
-
getApproximateMessagesCount
public int getApproximateMessagesCount()
Gets the approximate number of messages contained in the queue at the time of properties retrieval.- Returns:
- the approximate number of messages contained in the queue at the time of properties retrieval.
-
-