QueueProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. QueueProperties
- com.
Implements
public final class QueueProperties
implements JsonSerializable<QueueProperties>
The QueueProperties model.
Constructor Summary
| Constructor | Description |
|---|---|
| QueueProperties() |
Creates an instance of Queue |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
approximateMessageCount()
Get the approximate |
|
static
Queue |
fromJson(JsonReader jsonReader)
Reads an instance of Queue |
| Map<String,String> |
metadata()
Get the metadata property: A name-value pair that represents queue metadata. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Queue |
withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair that represents queue metadata. |
Methods inherited from java.lang.Object
Constructor Details
QueueProperties
public QueueProperties()
Creates an instance of QueueProperties class.
Method Details
approximateMessageCount
public Integer approximateMessageCount()
Get the approximateMessageCount property: Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher.
Returns:
fromJson
public static QueueProperties fromJson(JsonReader jsonReader)
Reads an instance of QueueProperties from the JsonReader.
Parameters:
Returns:
Throws:
metadata
public Map<String,String> metadata()
Get the metadata property: A name-value pair that represents queue metadata.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMetadata
public QueueProperties withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair that represents queue metadata.
Parameters:
Returns: