Package com.azure.data.tables.models
Class TableServiceMetrics
java.lang.Object
com.azure.data.tables.models.TableServiceMetrics
A model representing configurable metrics settings of the Table service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet theTableServiceRetentionPolicy
for these metrics on the Table service.Get the version of Analytics to configure.boolean
Get a value that indicates whether metrics are enabled for the Table service.Get a value that indicates whether metrics should generate summary statistics for called API operations.setEnabled
(boolean enabled) Set a value that indicates whether metrics are enabled for the Table service.setIncludeApis
(Boolean includeApis) Set a value that indicates whether metrics should generate summary statistics for called API operations.setRetentionPolicy
(TableServiceRetentionPolicy retentionPolicy) Set theTableServiceRetentionPolicy
for these metrics on the Table service.setVersion
(String version) Set the version of Analytics to configure.
-
Constructor Details
-
TableServiceMetrics
public TableServiceMetrics()
-
-
Method Details
-
getVersion
Get the version of Analytics to configure.- Returns:
- The
version
.
-
setVersion
Set the version of Analytics to configure.- Parameters:
version
- Theversion
to set.- Returns:
- The updated
TableServiceMetrics
object.
-
isEnabled
public boolean isEnabled()Get a value that indicates whether metrics are enabled for the Table service.- Returns:
- The
enabled
value.
-
setEnabled
Set a value that indicates whether metrics are enabled for the Table service.- Parameters:
enabled
- Theenabled
value to set.- Returns:
- The updated
TableServiceMetrics
object.
-
isIncludeApis
Get a value that indicates whether metrics should generate summary statistics for called API operations.- Returns:
- The
includeApis
value.
-
setIncludeApis
Set a value that indicates whether metrics should generate summary statistics for called API operations.- Parameters:
includeApis
- TheincludeApis
value to set.- Returns:
- The updated
TableServiceMetrics
object.
-
getTableServiceRetentionPolicy
Get theTableServiceRetentionPolicy
for these metrics on the Table service.- Returns:
- The
TableServiceRetentionPolicy
.
-
setRetentionPolicy
Set theTableServiceRetentionPolicy
for these metrics on the Table service.- Parameters:
retentionPolicy
- TheTableServiceRetentionPolicy
to set.- Returns:
- The updated
TableServiceMetrics
object.
-