TableSignedIdentifier Class

  • java.lang.Object
    • com.azure.data.tables.models.TableSignedIdentifier

Implements

public final class TableSignedIdentifier
implements XmlSerializable<TableSignedIdentifier>

A signed identifier.

Constructor Summary

Constructor Description
TableSignedIdentifier(String id)

Creates an instance of TableSignedIdentifier class.

Method Summary

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

Reads an instance of TableSignedIdentifier from the XmlReader.

static TableSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of TableSignedIdentifier from the XmlReader.

TableAccessPolicy getAccessPolicy()

Get the accessPolicy property: The access policy.

String getId()

Get the id property: A unique id.

TableSignedIdentifier setAccessPolicy(TableAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

XmlWriter toXml(XmlWriter xmlWriter)
XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)

Methods inherited from java.lang.Object

Constructor Details

TableSignedIdentifier

public TableSignedIdentifier(String id)

Creates an instance of TableSignedIdentifier class.

Parameters:

id - A unique id for this TableSignedIdentifier.

Method Details

fromXml

public static TableSignedIdentifier fromXml(XmlReader xmlReader)

Reads an instance of TableSignedIdentifier from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

An instance of TableSignedIdentifier 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 TableSignedIdentifier.

fromXml

public static TableSignedIdentifier fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of TableSignedIdentifier 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 TableSignedIdentifier 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 TableSignedIdentifier.

getAccessPolicy

public TableAccessPolicy 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 TableSignedIdentifier setAccessPolicy(TableAccessPolicy accessPolicy)

Set the accessPolicy property: The access policy.

Parameters:

accessPolicy - the accessPolicy value to set.

Returns:

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