public class SingleMetricBaselineInner extends Object
| Constructor and Description |
|---|
SingleMetricBaselineInner() |
| Modifier and Type | Method and Description |
|---|---|
List<TimeSeriesBaseline> |
baselines()
Get the baselines property: The baseline for each time series that was queried.
|
String |
id()
Get the id property: The metric baseline Id.
|
Duration |
interval()
Get the interval property: The interval (window size) for which the metric data was returned in.
|
String |
name()
Get the name property: The name of the metric for which the baselines were retrieved.
|
String |
namespace()
Get the namespace property: The namespace of the metrics been queried.
|
String |
timespan()
Get the timespan property: The timespan for which the data was retrieved.
|
String |
type()
Get the type property: The resource type of the metric baseline resource.
|
void |
validate()
Validates the instance.
|
SingleMetricBaselineInner |
withBaselines(List<TimeSeriesBaseline> baselines)
Set the baselines property: The baseline for each time series that was queried.
|
SingleMetricBaselineInner |
withId(String id)
Set the id property: The metric baseline Id.
|
SingleMetricBaselineInner |
withInterval(Duration interval)
Set the interval property: The interval (window size) for which the metric data was returned in.
|
SingleMetricBaselineInner |
withName(String name)
Set the name property: The name of the metric for which the baselines were retrieved.
|
SingleMetricBaselineInner |
withNamespace(String namespace)
Set the namespace property: The namespace of the metrics been queried.
|
SingleMetricBaselineInner |
withTimespan(String timespan)
Set the timespan property: The timespan for which the data was retrieved.
|
SingleMetricBaselineInner |
withType(String type)
Set the type property: The resource type of the metric baseline resource.
|
public String id()
public SingleMetricBaselineInner withId(String id)
id - the id value to set.public String type()
public SingleMetricBaselineInner withType(String type)
type - the type value to set.public String name()
public SingleMetricBaselineInner withName(String name)
name - the name value to set.public String timespan()
public SingleMetricBaselineInner withTimespan(String timespan)
timespan - the timespan value to set.public Duration interval()
public SingleMetricBaselineInner withInterval(Duration interval)
interval - the interval value to set.public String namespace()
public SingleMetricBaselineInner withNamespace(String namespace)
namespace - the namespace value to set.public List<TimeSeriesBaseline> baselines()
public SingleMetricBaselineInner withBaselines(List<TimeSeriesBaseline> baselines)
baselines - the baselines value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.