Partager via


TableServiceLogging Class

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

Implements

public final class TableServiceLogging
implements XmlSerializable<TableServiceLogging>

Azure Analytics Logging settings.

Constructor Summary

Constructor Description
TableServiceLogging()

Creates an instance of TableServiceLogging class.

Method Summary

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

Reads an instance of TableServiceLogging from the XmlReader.

static TableServiceLogging fromXml(XmlReader xmlReader, String rootElementName)

Reads an instance of TableServiceLogging from the XmlReader.

String getAnalyticsVersion()

Get the analyticsVersion property: The version of Analytics to configure.

TableServiceRetentionPolicy getRetentionPolicy()

Get the retentionPolicy property: The retention policy.

boolean isDeleteLogged()

Get the deleteLogged property: Indicates whether all delete requests should be logged.

boolean isReadLogged()

Get the readLogged property: Indicates whether all read requests should be logged.

boolean isWriteLogged()

Get the writeLogged property: Indicates whether all write requests should be logged.

TableServiceLogging setAnalyticsVersion(String analyticsVersion)

Set the analyticsVersion property: The version of Analytics to configure.

TableServiceLogging setDeleteLogged(boolean deleteLogged)

Set the deleteLogged property: Indicates whether all delete requests should be logged.

TableServiceLogging setReadLogged(boolean readLogged)

Set the readLogged property: Indicates whether all read requests should be logged.

TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the retentionPolicy property: The retention policy.

TableServiceLogging setWriteLogged(boolean writeLogged)

Set the writeLogged property: Indicates whether all write requests should be logged.

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

Methods inherited from java.lang.Object

Constructor Details

TableServiceLogging

public TableServiceLogging()

Creates an instance of TableServiceLogging class.

Method Details

fromXml

public static TableServiceLogging fromXml(XmlReader xmlReader)

Reads an instance of TableServiceLogging from the XmlReader.

Parameters:

xmlReader - The XmlReader being read.

Returns:

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

fromXml

public static TableServiceLogging fromXml(XmlReader xmlReader, String rootElementName)

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

getAnalyticsVersion

public String getAnalyticsVersion()

Get the analyticsVersion property: The version of Analytics to configure.

Returns:

the analyticsVersion value.

getRetentionPolicy

public TableServiceRetentionPolicy getRetentionPolicy()

Get the retentionPolicy property: The retention policy.

Returns:

the retentionPolicy value.

isDeleteLogged

public boolean isDeleteLogged()

Get the deleteLogged property: Indicates whether all delete requests should be logged.

Returns:

the deleteLogged value.

isReadLogged

public boolean isReadLogged()

Get the readLogged property: Indicates whether all read requests should be logged.

Returns:

the readLogged value.

isWriteLogged

public boolean isWriteLogged()

Get the writeLogged property: Indicates whether all write requests should be logged.

Returns:

the writeLogged value.

setAnalyticsVersion

public TableServiceLogging setAnalyticsVersion(String analyticsVersion)

Set the analyticsVersion property: The version of Analytics to configure.

Parameters:

analyticsVersion - the analyticsVersion value to set.

Returns:

the TableServiceLogging object itself.

setDeleteLogged

public TableServiceLogging setDeleteLogged(boolean deleteLogged)

Set the deleteLogged property: Indicates whether all delete requests should be logged.

Parameters:

deleteLogged - the deleteLogged value to set.

Returns:

the TableServiceLogging object itself.

setReadLogged

public TableServiceLogging setReadLogged(boolean readLogged)

Set the readLogged property: Indicates whether all read requests should be logged.

Parameters:

readLogged - the readLogged value to set.

Returns:

the TableServiceLogging object itself.

setRetentionPolicy

public TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the retentionPolicy property: The retention policy.

Parameters:

retentionPolicy - the retentionPolicy value to set.

Returns:

the TableServiceLogging object itself.

setWriteLogged

public TableServiceLogging setWriteLogged(boolean writeLogged)

Set the writeLogged property: Indicates whether all write requests should be logged.

Parameters:

writeLogged - the writeLogged value to set.

Returns:

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