public final class Metrics extends Object
Constructor and Description |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Get the enabled value.
|
Boolean |
includeAPIs()
Get the includeAPIs value.
|
RetentionPolicy |
retentionPolicy()
Get the retentionPolicy value.
|
String |
version()
Get the version value.
|
Metrics |
withEnabled(boolean enabled)
Set the enabled value.
|
Metrics |
withIncludeAPIs(Boolean includeAPIs)
Set the includeAPIs value.
|
Metrics |
withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy value.
|
Metrics |
withVersion(String version)
Set the version value.
|
public String version()
public Metrics withVersion(String version)
version
- the version value to set.public boolean enabled()
public Metrics withEnabled(boolean enabled)
enabled
- the enabled value to set.public Boolean includeAPIs()
public Metrics withIncludeAPIs(Boolean includeAPIs)
includeAPIs
- the includeAPIs value to set.public RetentionPolicy retentionPolicy()
public Metrics withRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy
- the retentionPolicy value to set.Copyright © 2019 Microsoft Corporation. All rights reserved.