Partilhar via


DataLakeMetrics Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.DataLakeMetrics

public final class DataLakeMetrics

a summary of request statistics grouped by API in hour or minute aggregates for datalake.

Constructor Summary

Constructor Description
DataLakeMetrics()

Method Summary

Modifier and Type Method and Description
DataLakeRetentionPolicy getRetentionPolicy()

Get the retentionPolicy property: The retentionPolicy property.

String getVersion()

Get the version property: The version of Storage Analytics to configure.

boolean isEnabled()

Get the enabled property: Indicates whether metrics are enabled for the DataLake service.

Boolean isIncludeApis()

Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.

DataLakeMetrics setEnabled(boolean enabled)

Set the enabled property: Indicates whether metrics are enabled for the DataLake service.

DataLakeMetrics setIncludeApis(Boolean includeApis)

Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.

DataLakeMetrics setRetentionPolicy(DataLakeRetentionPolicy retentionPolicy)

Set the retentionPolicy property: The retentionPolicy property.

DataLakeMetrics setVersion(String version)

Set the version property: The version of Storage Analytics to configure.

Methods inherited from java.lang.Object

Constructor Details

DataLakeMetrics

public DataLakeMetrics()

Method Details

getRetentionPolicy

public DataLakeRetentionPolicy getRetentionPolicy()

Get the retentionPolicy property: The retentionPolicy property.

Returns:

the retentionPolicy value.

getVersion

public String getVersion()

Get the version property: The version of Storage Analytics to configure.

Returns:

the version value.

isEnabled

public boolean isEnabled()

Get the enabled property: Indicates whether metrics are enabled for the DataLake service.

Returns:

the enabled value.

isIncludeApis

public Boolean isIncludeApis()

Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.

Returns:

the includeApis value.

setEnabled

public DataLakeMetrics setEnabled(boolean enabled)

Set the enabled property: Indicates whether metrics are enabled for the DataLake service.

Parameters:

enabled - the enabled value to set.

Returns:

the DataLakeMetrics object itself.

setIncludeApis

public DataLakeMetrics setIncludeApis(Boolean includeApis)

Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.

Parameters:

includeApis - the includeApis value to set.

Returns:

the DataLakeMetrics object itself.

setRetentionPolicy

public DataLakeMetrics setRetentionPolicy(DataLakeRetentionPolicy retentionPolicy)

Set the retentionPolicy property: The retentionPolicy property.

Parameters:

retentionPolicy - the retentionPolicy value to set.

Returns:

the DataLakeMetrics object itself.

setVersion

public DataLakeMetrics setVersion(String version)

Set the version property: The version of Storage Analytics to configure.

Parameters:

version - the version value to set.

Returns:

the DataLakeMetrics object itself.

Applies to