public final class TimeSeriesBaseline extends Object
| Constructor and Description |
|---|
TimeSeriesBaseline() |
| Modifier and Type | Method and Description |
|---|---|
String |
aggregation()
Get the aggregation property: The aggregation type of the metric.
|
List<SingleBaseline> |
data()
Get the data property: The baseline values for each sensitivity.
|
List<MetricSingleDimension> |
dimensions()
Get the dimensions property: The dimensions of this time series.
|
List<BaselineMetadata> |
metadata()
Get the metadata property: The baseline metadata values.
|
List<OffsetDateTime> |
timestamps()
Get the timestamps property: The list of timestamps of the baselines.
|
void |
validate()
Validates the instance.
|
TimeSeriesBaseline |
withAggregation(String aggregation)
Set the aggregation property: The aggregation type of the metric.
|
TimeSeriesBaseline |
withData(List<SingleBaseline> data)
Set the data property: The baseline values for each sensitivity.
|
TimeSeriesBaseline |
withDimensions(List<MetricSingleDimension> dimensions)
Set the dimensions property: The dimensions of this time series.
|
TimeSeriesBaseline |
withMetadata(List<BaselineMetadata> metadata)
Set the metadata property: The baseline metadata values.
|
TimeSeriesBaseline |
withTimestamps(List<OffsetDateTime> timestamps)
Set the timestamps property: The list of timestamps of the baselines.
|
public String aggregation()
public TimeSeriesBaseline withAggregation(String aggregation)
aggregation - the aggregation value to set.public List<MetricSingleDimension> dimensions()
public TimeSeriesBaseline withDimensions(List<MetricSingleDimension> dimensions)
dimensions - the dimensions value to set.public List<OffsetDateTime> timestamps()
public TimeSeriesBaseline withTimestamps(List<OffsetDateTime> timestamps)
timestamps - the timestamps value to set.public List<SingleBaseline> data()
public TimeSeriesBaseline withData(List<SingleBaseline> data)
data - the data value to set.public List<BaselineMetadata> metadata()
public TimeSeriesBaseline withMetadata(List<BaselineMetadata> metadata)
metadata - the metadata value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.