StorageQueueInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. StorageQueueInner
- com.
- com.
public final class StorageQueueInner
extends ProxyResource
The StorageQueue model.
Constructor Summary
Constructor | Description |
---|---|
StorageQueueInner() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
approximateMessageCount()
Get the approximate |
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Map<String,String> |
metadata()
Get the metadata property: A name-value pair that represents queue metadata. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Storage |
withMetadata(Map<String,String> metadata)
Set the metadata property: A name-value pair that represents queue metadata. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
StorageQueueInner
public StorageQueueInner()
Creates an instance of StorageQueueInner 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 StorageQueueInner fromJson(JsonReader jsonReader)
Reads an instance of StorageQueueInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StorageQueueInner.id()Returns:
metadata
public Map
Get the metadata property: A name-value pair that represents queue metadata.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StorageQueueInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StorageQueueInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StorageQueueInner.type()Returns:
validate
public void validate()
Validates the instance.
withMetadata
public StorageQueueInner withMetadata(Map
Set the metadata property: A name-value pair that represents queue metadata.
Parameters:
Returns:
Applies to
Azure SDK for Java