Class DataLakeMetrics
- java.lang.Object
-
- com.azure.storage.file.datalake.models.DataLakeMetrics
-
public final class DataLakeMetrics extends Object
a summary of request statistics grouped by API in hour or minute aggregates for datalake.
-
-
Constructor Summary
Constructors Constructor Description DataLakeMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLakeRetentionPolicygetRetentionPolicy()Get the retentionPolicy property: The retentionPolicy property.StringgetVersion()Get the version property: The version of Storage Analytics to configure.booleanisEnabled()Get the enabled property: Indicates whether metrics are enabled for the DataLake service.BooleanisIncludeApis()Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.DataLakeMetricssetEnabled(boolean enabled)Set the enabled property: Indicates whether metrics are enabled for the DataLake service.DataLakeMetricssetIncludeApis(Boolean includeApis)Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.DataLakeMetricssetRetentionPolicy(DataLakeRetentionPolicy retentionPolicy)Set the retentionPolicy property: The retentionPolicy property.DataLakeMetricssetVersion(String version)Set the version property: The version of Storage Analytics to configure.
-
-
-
Method Detail
-
getVersion
public String getVersion()
Get the version property: The version of Storage Analytics to configure.- Returns:
- the version value.
-
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.
-
isEnabled
public boolean isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the DataLake service.- Returns:
- the enabled 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.
-
getRetentionPolicy
public DataLakeRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: The retentionPolicy property.- Returns:
- the retentionPolicy value.
-
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.
-
isIncludeApis
public Boolean isIncludeApis()
Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.- Returns:
- the includeApis value.
-
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.
-
-