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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기