public final class MetricsProperties extends Object
Constructor and Description |
---|
MetricsProperties() |
Modifier and Type | Method and Description |
---|---|
MetricsLevel |
getMetricsLevel()
Gets the
for the analytics service. |
Integer |
getRetentionIntervalInDays()
Gets the metrics retention interval (in days).
|
String |
getVersion()
Gets the analytics version.
|
void |
setMetricsLevel(MetricsLevel metricsLevel)
Sets the
for the analytics service. |
void |
setRetentionIntervalInDays(Integer retentionIntervalInDays)
Sets the retention interval (in days).
|
void |
setVersion(String version)
Sets the analytics version.
|
public MetricsLevel getMetricsLevel()
MetricsLevel
for the analytics service.MetricsLevel
.public Integer getRetentionIntervalInDays()
Integer
which contains the retention interval.public String getVersion()
String
which contains the analytics version.public void setMetricsLevel(MetricsLevel metricsLevel)
MetricsLevel
for the analytics service.metricsLevel
- The MetricsLevel
to set.public void setRetentionIntervalInDays(Integer retentionIntervalInDays)
retentionIntervalInDays
- An Integer
which contains the retention interval to set.public void setVersion(String version)
version
- A String
which contains the analytics version to set./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/