Package com.azure.data.tables.models
Class TableSignedIdentifier
java.lang.Object
com.azure.data.tables.models.TableSignedIdentifier
- All Implemented Interfaces:
com.azure.xml.XmlSerializable<TableSignedIdentifier>
public final class TableSignedIdentifier
extends Object
implements com.azure.xml.XmlSerializable<TableSignedIdentifier>
A signed identifier.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TableSignedIdentifier class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TableSignedIdentifierfromXml(com.azure.xml.XmlReader xmlReader) Reads an instance of TableSignedIdentifier from the XmlReader.static TableSignedIdentifierReads an instance of TableSignedIdentifier from the XmlReader.Get the accessPolicy property: The access policy.getId()Get the id property: A unique id.setAccessPolicy(TableAccessPolicy accessPolicy) Set the accessPolicy property: The access policy.com.azure.xml.XmlWritertoXml(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
TableSignedIdentifier
Creates an instance of TableSignedIdentifier class.- Parameters:
id- A unique id for thisTableSignedIdentifier.- Throws:
NullPointerException- Ifidis null.
-
-
Method Details
-
getId
Get the id property: A unique id.- Returns:
- the id value.
-
getAccessPolicy
Get the accessPolicy property: The access policy.- Returns:
- the accessPolicy value.
-
setAccessPolicy
Set the accessPolicy property: The access policy.- Parameters:
accessPolicy- the accessPolicy value to set.- Returns:
- the TableSignedIdentifier object itself.
-
toXml
- Specified by:
toXmlin interfacecom.azure.xml.XmlSerializable<TableSignedIdentifier>- 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<TableSignedIdentifier>- Throws:
XMLStreamException
-
fromXml
public static TableSignedIdentifier fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException 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(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException 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.
-