public final class Metrics extends Object
| Constructor and Description |
|---|
Metrics() |
| Modifier and Type | Method and Description |
|---|---|
RetentionPolicy |
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
File service.
|
Boolean |
isIncludeAPIs()
Get the includeAPIs property: Indicates whether metrics should generate
summary statistics for called API operations.
|
Metrics |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether metrics are enabled for the
File service.
|
Metrics |
setIncludeAPIs(Boolean includeAPIs)
Set the includeAPIs property: Indicates whether metrics should generate
summary statistics for called API operations.
|
Metrics |
setRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy property: The retentionPolicy property.
|
Metrics |
setVersion(String version)
Set the version property: The version of Storage Analytics to configure.
|
public String getVersion()
public Metrics setVersion(String version)
version - the version value to set.public boolean isEnabled()
public Metrics setEnabled(boolean enabled)
enabled - the enabled value to set.public Boolean isIncludeAPIs()
public Metrics setIncludeAPIs(Boolean includeAPIs)
includeAPIs - the includeAPIs value to set.public RetentionPolicy getRetentionPolicy()
public Metrics setRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy - the retentionPolicy value to set.Copyright © 2019 Microsoft Corporation. All rights reserved.