public final class Metrics
extends java.lang.Object
Constructor and Description |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled()
Get the enabled value.
|
java.lang.Boolean |
includeAPIs()
Get the includeAPIs value.
|
RetentionPolicy |
retentionPolicy()
Get the retentionPolicy value.
|
java.lang.String |
version()
Get the version value.
|
Metrics |
withEnabled(boolean enabled)
Set the enabled value.
|
Metrics |
withIncludeAPIs(java.lang.Boolean includeAPIs)
Set the includeAPIs value.
|
Metrics |
withRetentionPolicy(RetentionPolicy retentionPolicy)
Set the retentionPolicy value.
|
Metrics |
withVersion(java.lang.String version)
Set the version value.
|
public java.lang.String version()
public Metrics withVersion(java.lang.String version)
version
- the version value to set.public boolean enabled()
public Metrics withEnabled(boolean enabled)
enabled
- the enabled value to set.public java.lang.Boolean includeAPIs()
public Metrics withIncludeAPIs(java.lang.Boolean includeAPIs)
includeAPIs
- the includeAPIs value to set.public RetentionPolicy retentionPolicy()
public Metrics withRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy
- the retentionPolicy value to set.