TableServiceMetrics Class

  • java.lang.Object
    • com.azure.data.tables.models.TableServiceMetrics

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
TableServiceRetentionPolicy 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.

TableServiceMetrics setEnabled(boolean enabled)

Set a value that indicates whether metrics are enabled for the Table service.

TableServiceMetrics setIncludeApis(Boolean includeApis)

Set a value that indicates whether metrics should generate summary statistics for called API operations.

TableServiceMetrics setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the TableServiceRetentionPolicy for these metrics on the Table service.

TableServiceMetrics 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:

The version.

isEnabled

public boolean isEnabled()

Get a value that indicates whether metrics are enabled for the Table service.

Returns:

The enabled value.

isIncludeApis

public Boolean isIncludeApis()

Get a value that indicates whether metrics should generate summary statistics for called API operations.

Returns:

The includeApis value.

setEnabled

public TableServiceMetrics setEnabled(boolean enabled)

Set a value that indicates whether metrics are enabled for the Table service.

Parameters:

enabled - The enabled value to set.

Returns:

The updated TableServiceMetrics object.

setIncludeApis

public TableServiceMetrics setIncludeApis(Boolean includeApis)

Set a value that indicates whether metrics should generate summary statistics for called API operations.

Parameters:

includeApis - The includeApis value to set.

Returns:

The updated TableServiceMetrics object.

setRetentionPolicy

public TableServiceMetrics setRetentionPolicy(TableServiceRetentionPolicy retentionPolicy)

Set the TableServiceRetentionPolicy for these metrics on the Table service.

Parameters:

retentionPolicy - The TableServiceRetentionPolicy to set.

Returns:

The updated TableServiceMetrics object.

setVersion

public TableServiceMetrics setVersion(String version)

Set the version of Analytics to configure.

Parameters:

version - The version to set.

Returns:

The updated TableServiceMetrics object.

Applies to