Class QueueSignedIdentifier

java.lang.Object
com.azure.storage.queue.models.QueueSignedIdentifier
All Implemented Interfaces:
com.azure.xml.XmlSerializable<QueueSignedIdentifier>

public final class QueueSignedIdentifier extends Object implements com.azure.xml.XmlSerializable<QueueSignedIdentifier>
signed identifier.
  • Constructor Details

    • QueueSignedIdentifier

      public QueueSignedIdentifier()
      Creates an instance of QueueSignedIdentifier class.
  • Method Details

    • getId

      public String getId()
      Get the id property: a unique id.
      Returns:
      the id value.
    • 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.
    • getAccessPolicy

      public QueueAccessPolicy getAccessPolicy()
      Get the accessPolicy property: The access policy.
      Returns:
      the accessPolicy 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.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<QueueSignedIdentifier>
      Throws:
      XMLStreamException
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<QueueSignedIdentifier>
      Throws:
      XMLStreamException
    • fromXml

      public static QueueSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      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 an error occurs while reading the QueueSignedIdentifier.
    • fromXml

      public static QueueSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      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 an error occurs while reading the QueueSignedIdentifier.