TableServiceMetrics Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceMetrics
- com.
Implements
public final class TableServiceMetrics
implements XmlSerializable<TableServiceMetrics>
The TableServiceMetrics model.
Constructor Summary
Constructor | Description |
---|---|
TableServiceMetrics() |
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 |
Table |
getTableServiceRetentionPolicy()
Get the retention |
String |
getVersion()
Get the version property: The version of Analytics to configure. |
boolean |
isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the Table service. |
Boolean |
isIncludeApis()
Get the include |
Table |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the Table service. |
Table |
setIncludeApis(Boolean includeApis)
Set the include |
Table |
setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the retention |
Table |
setVersion(String version)
Set the version property: The version of Analytics to configure. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
TableServiceMetrics
public TableServiceMetrics()
Creates an instance of TableServiceMetrics class.
Method Details
fromXml
public static TableServiceMetrics fromXml(XmlReader xmlReader)
Reads an instance of TableServiceMetrics from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static TableServiceMetrics fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of TableServiceMetrics from the XmlReader.
Parameters:
Returns:
Throws:
getTableServiceRetentionPolicy
public TableServiceRetentionPolicy getTableServiceRetentionPolicy()
Get the retentionPolicy property: The retention policy.
Returns:
getVersion
public String getVersion()
Get the version property: The version of Analytics to configure.
Returns:
isEnabled
public boolean isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the Table service.
Returns:
isIncludeApis
public Boolean isIncludeApis()
Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Returns:
setEnabled
public TableServiceMetrics setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the Table service.
Parameters:
Returns:
setIncludeApis
public TableServiceMetrics setIncludeApis(Boolean includeApis)
Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Parameters:
Returns:
setRetentionPolicy
public TableServiceMetrics setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the retentionPolicy property: The retention policy.
Parameters:
Returns:
setVersion
public TableServiceMetrics setVersion(String version)
Set the version property: The version of Analytics to configure.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java