com.microsoft.azure.management.monitor.TimeSeriesBaseline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-monitor is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.monitor;
import java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The baseline values for a single time series.
*/
public class TimeSeriesBaseline {
/**
* The aggregation type of the metric.
*/
@JsonProperty(value = "aggregation", required = true)
private String aggregation;
/**
* The dimensions of this time series.
*/
@JsonProperty(value = "dimensions")
private List dimensions;
/**
* The list of timestamps of the baselines.
*/
@JsonProperty(value = "timestamps", required = true)
private List timestamps;
/**
* The baseline values for each sensitivity.
*/
@JsonProperty(value = "data", required = true)
private List data;
/**
* The baseline metadata values.
*/
@JsonProperty(value = "metadata")
private List metadata;
/**
* Get the aggregation type of the metric.
*
* @return the aggregation value
*/
public String aggregation() {
return this.aggregation;
}
/**
* Set the aggregation type of the metric.
*
* @param aggregation the aggregation value to set
* @return the TimeSeriesBaseline object itself.
*/
public TimeSeriesBaseline withAggregation(String aggregation) {
this.aggregation = aggregation;
return this;
}
/**
* Get the dimensions of this time series.
*
* @return the dimensions value
*/
public List dimensions() {
return this.dimensions;
}
/**
* Set the dimensions of this time series.
*
* @param dimensions the dimensions value to set
* @return the TimeSeriesBaseline object itself.
*/
public TimeSeriesBaseline withDimensions(List dimensions) {
this.dimensions = dimensions;
return this;
}
/**
* Get the list of timestamps of the baselines.
*
* @return the timestamps value
*/
public List timestamps() {
return this.timestamps;
}
/**
* Set the list of timestamps of the baselines.
*
* @param timestamps the timestamps value to set
* @return the TimeSeriesBaseline object itself.
*/
public TimeSeriesBaseline withTimestamps(List timestamps) {
this.timestamps = timestamps;
return this;
}
/**
* Get the baseline values for each sensitivity.
*
* @return the data value
*/
public List data() {
return this.data;
}
/**
* Set the baseline values for each sensitivity.
*
* @param data the data value to set
* @return the TimeSeriesBaseline object itself.
*/
public TimeSeriesBaseline withData(List data) {
this.data = data;
return this;
}
/**
* Get the baseline metadata values.
*
* @return the metadata value
*/
public List metadata() {
return this.metadata;
}
/**
* Set the baseline metadata values.
*
* @param metadata the metadata value to set
* @return the TimeSeriesBaseline object itself.
*/
public TimeSeriesBaseline withMetadata(List metadata) {
this.metadata = metadata;
return this;
}
}