TableServiceLogging Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceLogging
- com.
Implements
public final class TableServiceLogging
implements XmlSerializable<TableServiceLogging>
Azure Analytics Logging settings.
Constructor Summary
Constructor | Description |
---|---|
TableServiceLogging() |
Creates an instance of Table |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Table |
fromXml(XmlReader xmlReader)
Reads an instance of Table |
static
Table |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Table |
String |
getAnalyticsVersion()
Get the analytics |
Table |
getRetentionPolicy()
Get the retention |
boolean |
isDeleteLogged()
Get the delete |
boolean |
isReadLogged()
Get the read |
boolean |
isWriteLogged()
Get the write |
Table |
setAnalyticsVersion(String analyticsVersion)
Set the analytics |
Table |
setDeleteLogged(boolean deleteLogged)
Set the delete |
Table |
setReadLogged(boolean readLogged)
Set the read |
Table |
setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the retention |
Table |
setWriteLogged(boolean writeLogged)
Set the write |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
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:
Returns:
Throws:
fromXml
public static TableServiceLogging fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of TableServiceLogging from the XmlReader.
Parameters:
Returns:
Throws:
getAnalyticsVersion
public String getAnalyticsVersion()
Get the analyticsVersion property: The version of Analytics to configure.
Returns:
getRetentionPolicy
public TableServiceRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: The retention policy.
Returns:
isDeleteLogged
public boolean isDeleteLogged()
Get the deleteLogged property: Indicates whether all delete requests should be logged.
Returns:
isReadLogged
public boolean isReadLogged()
Get the readLogged property: Indicates whether all read requests should be logged.
Returns:
isWriteLogged
public boolean isWriteLogged()
Get the writeLogged property: Indicates whether all write requests should be logged.
Returns:
setAnalyticsVersion
public TableServiceLogging setAnalyticsVersion(String analyticsVersion)
Set the analyticsVersion property: The version of Analytics to configure.
Parameters:
Returns:
setDeleteLogged
public TableServiceLogging setDeleteLogged(boolean deleteLogged)
Set the deleteLogged property: Indicates whether all delete requests should be logged.
Parameters:
Returns:
setReadLogged
public TableServiceLogging setReadLogged(boolean readLogged)
Set the readLogged property: Indicates whether all read requests should be logged.
Parameters:
Returns:
setRetentionPolicy
public TableServiceLogging setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the retentionPolicy property: The retention policy.
Parameters:
Returns:
setWriteLogged
public TableServiceLogging setWriteLogged(boolean writeLogged)
Set the writeLogged property: Indicates whether all write requests should be logged.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java