你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

QueueSignedIdentifier Class

  • java.lang.Object
    • com.azure.storage.queue.models.QueueSignedIdentifier

Implements

public final class QueueSignedIdentifier
implements XmlSerializable<QueueSignedIdentifier>

signed identifier.

Constructor Summary

Constructor Description
QueueSignedIdentifier()

Creates an instance of QueueSignedIdentifier class.

Method Summary

Modifier and Type Method and Description
static QueueSignedIdentifier fromXml(XmlReader xmlReader)

Reads an instance of QueueSignedIdentifier from the XmlReader.

static QueueSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of QueueSignedIdentifier from the XmlReader.

QueueAccessPolicy getAccessPolicy()

Get the accessPolicy property: The access policy.

String getId()

Get the id property: a unique id.

QueueSignedIdentifier setAccessPolicy(QueueAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

QueueSignedIdentifier setId(String id)

Set the id property: a unique id.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

QueueSignedIdentifier

public QueueSignedIdentifier()

Creates an instance of QueueSignedIdentifier class.

Method Details

fromXml

public static QueueSignedIdentifier fromXml(XmlReader xmlReader)

Reads an instance of QueueSignedIdentifier from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

An instance of QueueSignedIdentifier if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If the deserialized XML object was missing any required properties.

fromXml

public static QueueSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of QueueSignedIdentifier from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.
rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.

Returns:

An instance of QueueSignedIdentifier if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.

Throws:

XMLStreamException

- If the deserialized XML object was missing any required properties.

getAccessPolicy

public QueueAccessPolicy getAccessPolicy()

Get the accessPolicy property: The access policy.

Returns:

the accessPolicy value.

getId

public String getId()

Get the id property: a unique id.

Returns:

the id value.

setAccessPolicy

public QueueSignedIdentifier setAccessPolicy(QueueAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

the QueueSignedIdentifier object itself.

setId

public QueueSignedIdentifier setId(String id)

Set the id property: a unique id.

Parameters:

id - the id value to set.

Returns:

the QueueSignedIdentifier object itself.

toXml

public XmlWriter toXml(XmlWriter xmlWriter)

Parameters:

xmlWriter

Throws:

toXml

public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Parameters:

xmlWriter
rootElementName

Throws:

Applies to