Class TableServiceProperties

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

public final class TableServiceProperties extends Object implements com.azure.xml.XmlSerializable<TableServiceProperties>
Table Service Properties.
  • Constructor Details

    • TableServiceProperties

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

    • getLogging

      public TableServiceLogging getLogging()
      Get the logging property: Azure Analytics Logging settings.
      Returns:
      the logging value.
    • setLogging

      public TableServiceProperties setLogging(TableServiceLogging logging)
      Set the logging property: Azure Analytics Logging settings.
      Parameters:
      logging - the logging value to set.
      Returns:
      the TableServiceProperties object itself.
    • getHourMetrics

      public TableServiceMetrics getHourMetrics()
      Get the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for tables.
      Returns:
      the hourMetrics value.
    • setHourMetrics

      public TableServiceProperties setHourMetrics(TableServiceMetrics hourMetrics)
      Set the hourMetrics property: A summary of request statistics grouped by API in hourly aggregates for tables.
      Parameters:
      hourMetrics - the hourMetrics value to set.
      Returns:
      the TableServiceProperties object itself.
    • getMinuteMetrics

      public TableServiceMetrics getMinuteMetrics()
      Get the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for tables.
      Returns:
      the minuteMetrics value.
    • setMinuteMetrics

      public TableServiceProperties setMinuteMetrics(TableServiceMetrics minuteMetrics)
      Set the minuteMetrics property: A summary of request statistics grouped by API in minute aggregates for tables.
      Parameters:
      minuteMetrics - the minuteMetrics value to set.
      Returns:
      the TableServiceProperties object itself.
    • getCorsRules

      public List<TableServiceCorsRule> getCorsRules()
      Get the cors property: The set of CORS rules.
      Returns:
      the cors value.
    • setCorsRules

      public TableServiceProperties setCorsRules(List<TableServiceCorsRule> cors)
      Set the cors property: The set of CORS rules.
      Parameters:
      cors - the cors value to set.
      Returns:
      the TableServiceProperties 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<TableServiceProperties>
      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<TableServiceProperties>
      Throws:
      XMLStreamException
    • fromXml

      public static TableServiceProperties fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      Reads an instance of TableServiceProperties from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      Returns:
      An instance of TableServiceProperties 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 TableServiceProperties.
    • fromXml

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