Class TimeSeriesBaseline
java.lang.Object
com.azure.resourcemanager.monitor.models.TimeSeriesBaseline
The baseline values for a single time series.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregation property: The aggregation type of the metric.data()Get the data property: The baseline values for each sensitivity.Get the dimensions property: The dimensions of this time series.Get the metadataValues property: The baseline metadata values.Get the timestamps property: The list of timestamps of the baselines.voidvalidate()Validates the instance.withAggregation(String aggregation) Set the aggregation property: The aggregation type of the metric.withData(List<SingleBaseline> data) Set the data property: The baseline values for each sensitivity.withDimensions(List<MetricSingleDimension> dimensions) Set the dimensions property: The dimensions of this time series.withMetadataValues(List<BaselineMetadata> metadataValues) Set the metadataValues property: The baseline metadata values.withTimestamps(List<OffsetDateTime> timestamps) Set the timestamps property: The list of timestamps of the baselines.
-
Constructor Details
-
TimeSeriesBaseline
public TimeSeriesBaseline()Creates an instance of TimeSeriesBaseline class.
-
-
Method Details
-
aggregation
Get the aggregation property: The aggregation type of the metric.- Returns:
- the aggregation value.
-
withAggregation
Set the aggregation property: The aggregation type of the metric.- Parameters:
aggregation- the aggregation value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
dimensions
Get the dimensions property: The dimensions of this time series.- Returns:
- the dimensions value.
-
withDimensions
Set the dimensions property: The dimensions of this time series.- Parameters:
dimensions- the dimensions value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
timestamps
Get the timestamps property: The list of timestamps of the baselines.- Returns:
- the timestamps value.
-
withTimestamps
Set the timestamps property: The list of timestamps of the baselines.- Parameters:
timestamps- the timestamps value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
data
Get the data property: The baseline values for each sensitivity.- Returns:
- the data value.
-
withData
Set the data property: The baseline values for each sensitivity.- Parameters:
data- the data value to set.- Returns:
- the TimeSeriesBaseline object itself.
-
metadataValues
Get the metadataValues property: The baseline metadata values.- Returns:
- the metadataValues value.
-
withMetadataValues
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.
-