Partilhar via


BlobSignedIdentifier Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobSignedIdentifier

Implements

public final class BlobSignedIdentifier
implements XmlSerializable<BlobSignedIdentifier>

signed identifier.

Constructor Summary

Constructor Description
BlobSignedIdentifier()

Creates an instance of BlobSignedIdentifier class.

Method Summary

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

Reads an instance of BlobSignedIdentifier from the XmlReader.

static BlobSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of BlobSignedIdentifier from the XmlReader.

BlobAccessPolicy getAccessPolicy()

Get the accessPolicy property: An Access policy.

String getId()

Get the id property: a unique id.

BlobSignedIdentifier setAccessPolicy(BlobAccessPolicy accessPolicy)

Set the accessPolicy property: An Access policy.

BlobSignedIdentifier 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

BlobSignedIdentifier

public BlobSignedIdentifier()

Creates an instance of BlobSignedIdentifier class.

Method Details

fromXml

public static BlobSignedIdentifier fromXml(XmlReader xmlReader)

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(XmlReader xmlReader, String rootElementName)

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.

getAccessPolicy

public BlobAccessPolicy getAccessPolicy()

Get the accessPolicy property: An Access policy.

Returns:

the accessPolicy value.

getId

public String getId()

Get the id property: a unique id.

Returns:

the id value.

setAccessPolicy

public BlobSignedIdentifier setAccessPolicy(BlobAccessPolicy accessPolicy)

Set the accessPolicy property: An Access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

the BlobSignedIdentifier object itself.

setId

public BlobSignedIdentifier setId(String id)

Set the id property: a unique id.

Parameters:

id - the id value to set.

Returns:

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