Package com.azure.storage.blob.models
Class BlobSignedIdentifier
java.lang.Object
com.azure.storage.blob.models.BlobSignedIdentifier
- All Implemented Interfaces:
com.azure.xml.XmlSerializable<BlobSignedIdentifier>
public final class BlobSignedIdentifier
extends Object
implements com.azure.xml.XmlSerializable<BlobSignedIdentifier>
signed identifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlobSignedIdentifier
fromXml
(com.azure.xml.XmlReader xmlReader) Reads an instance of BlobSignedIdentifier from the XmlReader.static BlobSignedIdentifier
Reads an instance of BlobSignedIdentifier from the XmlReader.Get the accessPolicy property: An Access policy.getId()
Get the id property: a unique id.setAccessPolicy
(BlobAccessPolicy accessPolicy) Set the accessPolicy property: An Access policy.Set the id property: a unique id.com.azure.xml.XmlWriter
toXml
(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
BlobSignedIdentifier
public BlobSignedIdentifier()Creates an instance of BlobSignedIdentifier class.
-
-
Method Details
-
getId
Get the id property: a unique id.- Returns:
- the id value.
-
setId
Set the id property: a unique id.- Parameters:
id
- the id value to set.- Returns:
- the BlobSignedIdentifier object itself.
-
getAccessPolicy
Get the accessPolicy property: An Access policy.- Returns:
- the accessPolicy value.
-
setAccessPolicy
Set the accessPolicy property: An Access policy.- Parameters:
accessPolicy
- the accessPolicy value to set.- Returns:
- the BlobSignedIdentifier object itself.
-
toXml
- Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<BlobSignedIdentifier>
- Throws:
XMLStreamException
-
toXml
public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException - Specified by:
toXml
in interfacecom.azure.xml.XmlSerializable<BlobSignedIdentifier>
- Throws:
XMLStreamException
-
fromXml
public static BlobSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException Reads an instance of BlobSignedIdentifier from the XmlReader.- Parameters:
xmlReader
- The XmlReader being read.- Returns:
- An instance of BlobSignedIdentifier 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 BlobSignedIdentifier.
-
fromXml
public static BlobSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException Reads an instance of BlobSignedIdentifier 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 BlobSignedIdentifier 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 BlobSignedIdentifier.
-