Class TimeSeriesBaseline
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.TimeSeriesBaseline
-
public final class TimeSeriesBaseline extends Object
The baseline values for a single time series.
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesBaseline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaggregation()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>metadataValues()Get the metadataValues property: The baseline metadata values.List<OffsetDateTime>timestamps()Get the timestamps property: The list of timestamps of the baselines.voidvalidate()Validates the instance.TimeSeriesBaselinewithAggregation(String aggregation)Set the aggregation property: The aggregation type of the metric.TimeSeriesBaselinewithData(List<SingleBaseline> data)Set the data property: The baseline values for each sensitivity.TimeSeriesBaselinewithDimensions(List<MetricSingleDimension> dimensions)Set the dimensions property: The dimensions of this time series.TimeSeriesBaselinewithMetadataValues(List<BaselineMetadata> metadataValues)Set the metadataValues property: The baseline metadata values.TimeSeriesBaselinewithTimestamps(List<OffsetDateTime> timestamps)Set the timestamps property: The list of timestamps of the baselines.
-
-
-
Method Detail
-
aggregation
public String aggregation()
Get the aggregation property: The aggregation type of the metric.- Returns:
- the aggregation value.
-
withAggregation
public TimeSeriesBaseline withAggregation(String aggregation)
Set the aggregation property: The aggregation type of the metric.- Parameters:
aggregation- the aggregation value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
dimensions
public List<MetricSingleDimension> dimensions()
Get the dimensions property: The dimensions of this time series.- Returns:
- the dimensions value.
-
withDimensions
public TimeSeriesBaseline withDimensions(List<MetricSingleDimension> dimensions)
Set the dimensions property: The dimensions of this time series.- Parameters:
dimensions- the dimensions value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
timestamps
public List<OffsetDateTime> timestamps()
Get the timestamps property: The list of timestamps of the baselines.- Returns:
- the timestamps value.
-
withTimestamps
public TimeSeriesBaseline withTimestamps(List<OffsetDateTime> timestamps)
Set the timestamps property: The list of timestamps of the baselines.- Parameters:
timestamps- the timestamps value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
data
public List<SingleBaseline> data()
Get the data property: The baseline values for each sensitivity.- Returns:
- the data value.
-
withData
public TimeSeriesBaseline withData(List<SingleBaseline> data)
Set the data property: The baseline values for each sensitivity.- Parameters:
data- the data value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
metadataValues
public List<BaselineMetadata> metadataValues()
Get the metadataValues property: The baseline metadata values.- Returns:
- the metadataValues value.
-
withMetadataValues
public TimeSeriesBaseline withMetadataValues(List<BaselineMetadata> metadataValues)
Set the metadataValues property: The baseline metadata values.- Parameters:
metadataValues- the metadataValues value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-