Package com.azure.data.tables.models
Class TableServiceMetrics
- java.lang.Object
-
- com.azure.data.tables.models.TableServiceMetrics
-
public final class TableServiceMetrics extends Object
A model representing configurable metrics settings of the Table service.
-
-
Constructor Summary
Constructors Constructor Description TableServiceMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableServiceRetentionPolicygetTableServiceRetentionPolicy()Get theTableServiceRetentionPolicyfor these metrics on the Table service.StringgetVersion()Get the version of Analytics to configure.booleanisEnabled()Get a value that indicates whether metrics are enabled for the Table service.BooleanisIncludeApis()Get a value that indicates whether metrics should generate summary statistics for called API operations.TableServiceMetricssetEnabled(boolean enabled)Set a value that indicates whether metrics are enabled for the Table service.TableServiceMetricssetIncludeApis(Boolean includeApis)Set a value that indicates whether metrics should generate summary statistics for called API operations.TableServiceMetricssetRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)Set theTableServiceRetentionPolicyfor these metrics on the Table service.TableServiceMetricssetVersion(String version)Set the version of Analytics to configure.
-
-
-
Method Detail
-
getVersion
public String getVersion()
Get the version of Analytics to configure.- Returns:
- The
version.
-
setVersion
public TableServiceMetrics setVersion(String version)
Set the version of Analytics to configure.- Parameters:
version- Theversionto set.- Returns:
- The updated
TableServiceMetricsobject.
-
isEnabled
public boolean isEnabled()
Get a value that indicates whether metrics are enabled for the Table service.- Returns:
- The
enabledvalue.
-
setEnabled
public TableServiceMetrics setEnabled(boolean enabled)
Set a value that indicates whether metrics are enabled for the Table service.- Parameters:
enabled- Theenabledvalue to set.- Returns:
- The updated
TableServiceMetricsobject.
-
isIncludeApis
public Boolean isIncludeApis()
Get a value that indicates whether metrics should generate summary statistics for called API operations.- Returns:
- The
includeApisvalue.
-
setIncludeApis
public TableServiceMetrics setIncludeApis(Boolean includeApis)
Set a value that indicates whether metrics should generate summary statistics for called API operations.- Parameters:
includeApis- TheincludeApisvalue to set.- Returns:
- The updated
TableServiceMetricsobject.
-
getTableServiceRetentionPolicy
public TableServiceRetentionPolicy getTableServiceRetentionPolicy()
Get theTableServiceRetentionPolicyfor these metrics on the Table service.- Returns:
- The
TableServiceRetentionPolicy.
-
setRetentionPolicy
public TableServiceMetrics setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)
Set theTableServiceRetentionPolicyfor these metrics on the Table service.- Parameters:
retentionPolicy- TheTableServiceRetentionPolicyto set.- Returns:
- The updated
TableServiceMetricsobject.
-
-