com.microsoft.azure.management.monitor.implementation.CalculateBaselineResponseInner 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.implementation;
import java.util.List;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The response to a calculate baseline call.
*/
public class CalculateBaselineResponseInner {
/**
* the resource type of the baseline resource.
*/
@JsonProperty(value = "type", required = true)
private String type;
/**
* the array of timestamps of the baselines.
*/
@JsonProperty(value = "timestamps")
private List timestamps;
/**
* the baseline values for each sensitivity.
*/
@JsonProperty(value = "baseline", required = true)
private List baseline;
/**
* Get the resource type of the baseline resource.
*
* @return the type value
*/
public String type() {
return this.type;
}
/**
* Set the resource type of the baseline resource.
*
* @param type the type value to set
* @return the CalculateBaselineResponseInner object itself.
*/
public CalculateBaselineResponseInner withType(String type) {
this.type = type;
return this;
}
/**
* Get the array of timestamps of the baselines.
*
* @return the timestamps value
*/
public List timestamps() {
return this.timestamps;
}
/**
* Set the array of timestamps of the baselines.
*
* @param timestamps the timestamps value to set
* @return the CalculateBaselineResponseInner object itself.
*/
public CalculateBaselineResponseInner withTimestamps(List timestamps) {
this.timestamps = timestamps;
return this;
}
/**
* Get the baseline values for each sensitivity.
*
* @return the baseline value
*/
public List baseline() {
return this.baseline;
}
/**
* Set the baseline values for each sensitivity.
*
* @param baseline the baseline value to set
* @return the CalculateBaselineResponseInner object itself.
*/
public CalculateBaselineResponseInner withBaseline(List baseline) {
this.baseline = baseline;
return this;
}
}