TimeSeriesBaseline Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. TimeSeriesBaseline
- com.
Implements
public final class TimeSeriesBaseline
implements JsonSerializable<TimeSeriesBaseline>
The baseline values for a single time series.
Constructor Summary
Constructor | Description |
---|---|
TimeSeriesBaseline() |
Creates an instance of Time |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aggregation()
Get the aggregation property: The aggregation type of the metric. |
List<Single |
data()
Get the data property: The baseline values for each sensitivity. |
List<Metric |
dimensions()
Get the dimensions property: The dimensions of this time series. |
static
Time |
fromJson(JsonReader jsonReader)
Reads an instance of Time |
List<Baseline |
metadataValues()
Get the metadata |
List<Offset |
timestamps()
Get the timestamps property: The list of timestamps of the baselines. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Time |
withAggregation(String aggregation)
Set the aggregation property: The aggregation type of the metric. |
Time |
withData(List<SingleBaseline> data)
Set the data property: The baseline values for each sensitivity. |
Time |
withDimensions(List<MetricSingleDimension> dimensions)
Set the dimensions property: The dimensions of this time series. |
Time |
withMetadataValues(List<BaselineMetadata> metadataValues)
Set the metadata |
Time |
withTimestamps(List<OffsetDateTime> timestamps)
Set the timestamps property: The list of timestamps of the baselines. |
Methods inherited from java.lang.Object
Constructor Details
TimeSeriesBaseline
public TimeSeriesBaseline()
Creates an instance of TimeSeriesBaseline class.
Method Details
aggregation
public String aggregation()
Get the aggregation property: The aggregation type of the metric.
Returns:
data
public List
Get the data property: The baseline values for each sensitivity.
Returns:
dimensions
public List
Get the dimensions property: The dimensions of this time series.
Returns:
fromJson
public static TimeSeriesBaseline fromJson(JsonReader jsonReader)
Reads an instance of TimeSeriesBaseline from the JsonReader.
Parameters:
Returns:
Throws:
metadataValues
public List
Get the metadataValues property: The baseline metadata values.
Returns:
timestamps
public List
Get the timestamps property: The list of timestamps of the baselines.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAggregation
public TimeSeriesBaseline withAggregation(String aggregation)
Set the aggregation property: The aggregation type of the metric.
Parameters:
Returns:
withData
public TimeSeriesBaseline withData(List
Set the data property: The baseline values for each sensitivity.
Parameters:
Returns:
withDimensions
public TimeSeriesBaseline withDimensions(List
Set the dimensions property: The dimensions of this time series.
Parameters:
Returns:
withMetadataValues
public TimeSeriesBaseline withMetadataValues(List
Set the metadataValues property: The baseline metadata values.
Parameters:
Returns:
withTimestamps
public TimeSeriesBaseline withTimestamps(List
Set the timestamps property: The list of timestamps of the baselines.
Parameters:
Returns:
Applies to
Azure SDK for Java