Class SingleBaseline
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.SingleBaseline
-
public final class SingleBaseline extends Object
The baseline values for a single sensitivity value.
-
-
Constructor Summary
Constructors Constructor Description SingleBaseline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>highThresholds()Get the highThresholds property: The high thresholds of the baseline.List<Double>lowThresholds()Get the lowThresholds property: The low thresholds of the baseline.BaselineSensitivitysensitivity()Get the sensitivity property: the sensitivity of the baseline.voidvalidate()Validates the instance.SingleBaselinewithHighThresholds(List<Double> highThresholds)Set the highThresholds property: The high thresholds of the baseline.SingleBaselinewithLowThresholds(List<Double> lowThresholds)Set the lowThresholds property: The low thresholds of the baseline.SingleBaselinewithSensitivity(BaselineSensitivity sensitivity)Set the sensitivity property: the sensitivity of the baseline.
-
-
-
Method Detail
-
sensitivity
public BaselineSensitivity sensitivity()
Get the sensitivity property: the sensitivity of the baseline.- Returns:
- the sensitivity value.
-
withSensitivity
public SingleBaseline withSensitivity(BaselineSensitivity sensitivity)
Set the sensitivity property: the sensitivity of the baseline.- Parameters:
sensitivity- the sensitivity value to set.- Returns:
- the SingleBaseline object itself.
-
lowThresholds
public List<Double> lowThresholds()
Get the lowThresholds property: The low thresholds of the baseline.- Returns:
- the lowThresholds value.
-
withLowThresholds
public SingleBaseline withLowThresholds(List<Double> lowThresholds)
Set the lowThresholds property: The low thresholds of the baseline.- Parameters:
lowThresholds- the lowThresholds value to set.- Returns:
- the SingleBaseline object itself.
-
highThresholds
public List<Double> highThresholds()
Get the highThresholds property: The high thresholds of the baseline.- Returns:
- the highThresholds value.
-
withHighThresholds
public SingleBaseline withHighThresholds(List<Double> highThresholds)
Set the highThresholds property: The high thresholds of the baseline.- Parameters:
highThresholds- the highThresholds value to set.- Returns:
- the SingleBaseline object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-