Class ShareSignedIdentifier
java.lang.Object
com.azure.storage.file.share.models.ShareSignedIdentifier
- All Implemented Interfaces:
com.azure.xml.XmlSerializable<ShareSignedIdentifier>
public final class ShareSignedIdentifier
extends Object
implements com.azure.xml.XmlSerializable<ShareSignedIdentifier>
Signed identifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShareSignedIdentifierfromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of ShareSignedIdentifier from the XmlReader.static ShareSignedIdentifierReads an instance of ShareSignedIdentifier from the XmlReader.Get the accessPolicy property: The access policy.getId()Get the id property: A unique id.setAccessPolicy(ShareAccessPolicy accessPolicy) Set the accessPolicy property: The access policy.Set the id property: A unique id.com.azure.xml.XmlWritertoXml(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
ShareSignedIdentifier
public ShareSignedIdentifier()Creates an instance of ShareSignedIdentifier 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 ShareSignedIdentifier object itself.
-
getAccessPolicy
Get the accessPolicy property: The access policy.- Returns:
- the accessPolicy value.
-
toXml
- Specified by:
toXmlin interfacecom.azure.xml.XmlSerializable<ShareSignedIdentifier>- Throws:
XMLStreamException
-
toXml
public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException - Specified by:
toXmlin interfacecom.azure.xml.XmlSerializable<ShareSignedIdentifier>- Throws:
XMLStreamException
-
fromXml
public static ShareSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException Reads an instance of ShareSignedIdentifier from the XmlReader.- Parameters:
xmlReader- The XmlReader being read.- Returns:
- An instance of ShareSignedIdentifier 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 ShareSignedIdentifier.
-
fromXml
public static ShareSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException Reads an instance of ShareSignedIdentifier 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 ShareSignedIdentifier 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 ShareSignedIdentifier.
-