QueueItem Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueItem
- com.
Implements
public final class QueueItem
implements XmlSerializable<QueueItem>
An Azure Storage Queue.
Constructor Summary
Constructor | Description |
---|---|
QueueItem() |
Creates an instance of Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Queue |
fromXml(XmlReader xmlReader)
Reads an instance of Queue |
static
Queue |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Queue |
Map<String,String> |
getMetadata()
Get the metadata property: Dictionary of . |
String |
getName()
Get the name property: The name of the Queue. |
Queue |
setMetadata(Map<String,String> metadata)
Set the metadata property: Dictionary of . |
Queue |
setName(String name)
Set the name property: The name of the Queue. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
QueueItem
public QueueItem()
Creates an instance of QueueItem class.
Method Details
fromXml
public static QueueItem fromXml(XmlReader xmlReader)
Reads an instance of QueueItem from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static QueueItem fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of QueueItem from the XmlReader.
Parameters:
Returns:
Throws:
getMetadata
public Map
Get the metadata property: Dictionary of .
Returns:
getName
public String getName()
Get the name property: The name of the Queue.
Returns:
setMetadata
public QueueItem setMetadata(Map
Set the metadata property: Dictionary of .
Parameters:
Returns:
setName
public QueueItem setName(String name)
Set the name property: The name of the Queue.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java