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