Class TableServiceLogging

java.lang.Object
com.azure.data.tables.models.TableServiceLogging
All Implemented Interfaces:
com.azure.xml.XmlSerializable<TableServiceLogging>

public final class TableServiceLogging extends Object implements com.azure.xml.XmlSerializable<TableServiceLogging>
Azure Analytics Logging settings.
  • Constructor Details

    • TableServiceLogging

      public TableServiceLogging()
      Creates an instance of TableServiceLogging class.
  • Method Details

    • getAnalyticsVersion

      public String getAnalyticsVersion()
      Get the analyticsVersion property: The version of Analytics to configure.
      Returns:
      the analyticsVersion 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.
    • isDeleteLogged

      public boolean isDeleteLogged()
      Get the deleteLogged property: Indicates whether all delete requests should be logged.
      Returns:
      the deleteLogged value.
    • 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.
    • isReadLogged

      public boolean isReadLogged()
      Get the readLogged property: Indicates whether all read requests should be logged.
      Returns:
      the readLogged value.
    • 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.
    • isWriteLogged

      public boolean isWriteLogged()
      Get the writeLogged property: Indicates whether all write requests should be logged.
      Returns:
      the writeLogged value.
    • 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.
    • getRetentionPolicy

      public TableServiceRetentionPolicy getRetentionPolicy()
      Get the retentionPolicy property: The retention policy.
      Returns:
      the retentionPolicy value.
    • 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.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<TableServiceLogging>
      Throws:
      XMLStreamException
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<TableServiceLogging>
      Throws:
      XMLStreamException
    • fromXml

      public static TableServiceLogging fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      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(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      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.