TableServiceMetrics Class
- java.
lang. Object - com.
azure. data. tables. models. TableServiceMetrics
- com.
public final class TableServiceMetrics
A model representing configurable metrics settings of the Table service.
Constructor Summary
Constructor | Description |
---|---|
TableServiceMetrics() |
Creates a TableServiceMetrics. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Table |
getTableServiceRetentionPolicy()
Get the TableServiceRetentionPolicy for these metrics on the Table service. |
String |
getVersion()
Get the version of Analytics to configure. |
boolean |
isEnabled()
Get a value that indicates whether metrics are enabled for the Table service. |
Boolean |
isIncludeApis()
Get a value that indicates whether metrics should generate summary statistics for called API operations. |
Table |
setEnabled(boolean enabled)
Set a value that indicates whether metrics are enabled for the Table service. |
Table |
setIncludeApis(Boolean includeApis)
Set a value that indicates whether metrics should generate summary statistics for called API operations. |
Table |
setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the TableServiceRetentionPolicy for these metrics on the Table service. |
Table |
setVersion(String version)
Set the version of Analytics to configure. |
Methods inherited from java.lang.Object
Constructor Details
TableServiceMetrics
public TableServiceMetrics()
Creates a TableServiceMetrics.
Method Details
getTableServiceRetentionPolicy
public TableServiceRetentionPolicy getTableServiceRetentionPolicy()
Get the TableServiceRetentionPolicy for these metrics on the Table service.
Returns:
getVersion
public String getVersion()
Get the version of Analytics to configure.
Returns:
version
.isEnabled
public boolean isEnabled()
Get a value that indicates whether metrics are enabled for the Table service.
Returns:
enabled
value.isIncludeApis
public Boolean isIncludeApis()
Get a value that indicates whether metrics should generate summary statistics for called API operations.
Returns:
includeApis
value.setEnabled
public TableServiceMetrics setEnabled(boolean enabled)
Set a value that indicates whether metrics are enabled for the Table service.
Parameters:
enabled
value to set.
Returns:
setIncludeApis
public TableServiceMetrics setIncludeApis(Boolean includeApis)
Set a value that indicates whether metrics should generate summary statistics for called API operations.
Parameters:
includeApis
value to set.
Returns:
setRetentionPolicy
public TableServiceMetrics setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set the TableServiceRetentionPolicy for these metrics on the Table service.
Parameters:
Returns:
setVersion
public TableServiceMetrics setVersion(String version)
Set the version of Analytics to configure.
Parameters:
version
to set.
Returns:
Applies to
Azure SDK for Java