DataLakeMetrics Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. DataLakeMetrics
- com.
public final class DataLakeMetrics
a summary of request statistics grouped by API in hour or minute aggregates for datalake.
Constructor Summary
| Constructor | Description |
|---|---|
| DataLakeMetrics() |
Creates a new instance of DataLakeMetrics. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Data |
getRetentionPolicy()
Get the retention |
| 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 Data |
| Boolean |
isIncludeApis()
Get the include |
|
Data |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the Data |
|
Data |
setIncludeApis(Boolean includeApis)
Set the include |
|
Data |
setRetentionPolicy(DataLakeRetentionPolicy retentionPolicy)
Set the retention |
|
Data |
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()
Creates a new instance of DataLakeMetrics.
Method Details
getRetentionPolicy
public DataLakeRetentionPolicy getRetentionPolicy()
Get the retentionPolicy property: The retentionPolicy property.
Returns:
getVersion
public String getVersion()
Get the version property: The version of Storage Analytics to configure.
Returns:
isEnabled
public boolean isEnabled()
Get the enabled property: Indicates whether metrics are enabled for the DataLake service.
Returns:
isIncludeApis
public Boolean isIncludeApis()
Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Returns:
setEnabled
public DataLakeMetrics setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the DataLake service.
Parameters:
Returns:
setIncludeApis
public DataLakeMetrics setIncludeApis(Boolean includeApis)
Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.
Parameters:
Returns:
setRetentionPolicy
public DataLakeMetrics setRetentionPolicy(DataLakeRetentionPolicy retentionPolicy)
Set the retentionPolicy property: The retentionPolicy property.
Parameters:
Returns:
setVersion
public DataLakeMetrics setVersion(String version)
Set the version property: The version of Storage Analytics to configure.
Parameters:
Returns: