Partilhar via


ShareSignedIdentifier Class

  • java.lang.Object
    • com.azure.storage.file.share.models.ShareSignedIdentifier

Implements

public final class ShareSignedIdentifier
implements XmlSerializable<ShareSignedIdentifier>

Signed identifier.

Constructor Summary

Constructor Description
ShareSignedIdentifier()

Creates an instance of ShareSignedIdentifier class.

Method Summary

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

Reads an instance of ShareSignedIdentifier from the XmlReader.

static ShareSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of ShareSignedIdentifier from the XmlReader.

ShareAccessPolicy getAccessPolicy()

Get the accessPolicy property: The access policy.

String getId()

Get the id property: A unique id.

ShareSignedIdentifier setAccessPolicy(ShareAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

ShareSignedIdentifier 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

ShareSignedIdentifier

public ShareSignedIdentifier()

Creates an instance of ShareSignedIdentifier class.

Method Details

fromXml

public static ShareSignedIdentifier fromXml(XmlReader xmlReader)

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 the deserialized XML object was missing any required properties.

fromXml

public static ShareSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

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 the deserialized XML object was missing any required properties.

getAccessPolicy

public ShareAccessPolicy 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 ShareSignedIdentifier setAccessPolicy(ShareAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

the ShareSignedIdentifier object itself.

setId

public ShareSignedIdentifier setId(String id)

Set the id property: A unique id.

Parameters:

id - the id value to set.

Returns:

the ShareSignedIdentifier 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