
com.azure.resourcemanager.monitor.models.MetricBaselinesResponse Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.monitor.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.monitor.fluent.models.SingleMetricBaselineInner;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** A list of metric baselines. */
@Fluent
public final class MetricBaselinesResponse {
/*
* The list of metric baselines.
*/
@JsonProperty(value = "value")
private List value;
/** Creates an instance of MetricBaselinesResponse class. */
public MetricBaselinesResponse() {
}
/**
* Get the value property: The list of metric baselines.
*
* @return the value value.
*/
public List value() {
return this.value;
}
/**
* Set the value property: The list of metric baselines.
*
* @param value the value value to set.
* @return the MetricBaselinesResponse object itself.
*/
public MetricBaselinesResponse withValue(List value) {
this.value = value;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (value() != null) {
value().forEach(e -> e.validate());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy