Class SingleBaseline
java.lang.Object
com.azure.resourcemanager.monitor.models.SingleBaseline
The baseline values for a single sensitivity value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the highThresholds property: The high thresholds of the baseline.Get the lowThresholds property: The low thresholds of the baseline.Get the sensitivity property: the sensitivity of the baseline.voidvalidate()Validates the instance.withHighThresholds(List<Double> highThresholds) Set the highThresholds property: The high thresholds of the baseline.withLowThresholds(List<Double> lowThresholds) Set the lowThresholds property: The low thresholds of the baseline.withSensitivity(BaselineSensitivity sensitivity) Set the sensitivity property: the sensitivity of the baseline.
-
Constructor Details
-
SingleBaseline
public SingleBaseline()Creates an instance of SingleBaseline class.
-
-
Method Details
-
sensitivity
Get the sensitivity property: the sensitivity of the baseline.- Returns:
- the sensitivity value.
-
withSensitivity
Set the sensitivity property: the sensitivity of the baseline.- Parameters:
sensitivity- the sensitivity value to set.- Returns:
- the SingleBaseline object itself.
-
lowThresholds
Get the lowThresholds property: The low thresholds of the baseline.- Returns:
- the lowThresholds value.
-
withLowThresholds
Set the lowThresholds property: The low thresholds of the baseline.- Parameters:
lowThresholds- the lowThresholds value to set.- Returns:
- the SingleBaseline object itself.
-
highThresholds
Get the highThresholds property: The high thresholds of the baseline.- Returns:
- the highThresholds value.
-
withHighThresholds
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.
-