SingleBaseline Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. SingleBaseline
- com.
Implements
public final class SingleBaseline
implements JsonSerializable<SingleBaseline>
The baseline values for a single sensitivity value.
Constructor Summary
Constructor | Description |
---|---|
SingleBaseline() |
Creates an instance of Single |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Single |
fromJson(JsonReader jsonReader)
Reads an instance of Single |
List<Double> |
highThresholds()
Get the high |
List<Double> |
lowThresholds()
Get the low |
Baseline |
sensitivity()
Get the sensitivity property: the sensitivity of the baseline. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Single |
withHighThresholds(List<Double> highThresholds)
Set the high |
Single |
withLowThresholds(List<Double> lowThresholds)
Set the low |
Single |
withSensitivity(BaselineSensitivity sensitivity)
Set the sensitivity property: the sensitivity of the baseline. |
Methods inherited from java.lang.Object
Constructor Details
SingleBaseline
public SingleBaseline()
Creates an instance of SingleBaseline class.
Method Details
fromJson
public static SingleBaseline fromJson(JsonReader jsonReader)
Reads an instance of SingleBaseline from the JsonReader.
Parameters:
Returns:
Throws:
highThresholds
public List
Get the highThresholds property: The high thresholds of the baseline.
Returns:
lowThresholds
public List
Get the lowThresholds property: The low thresholds of the baseline.
Returns:
sensitivity
public BaselineSensitivity sensitivity()
Get the sensitivity property: the sensitivity of the baseline.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHighThresholds
public SingleBaseline withHighThresholds(List
Set the highThresholds property: The high thresholds of the baseline.
Parameters:
Returns:
withLowThresholds
public SingleBaseline withLowThresholds(List
Set the lowThresholds property: The low thresholds of the baseline.
Parameters:
Returns:
withSensitivity
public SingleBaseline withSensitivity(BaselineSensitivity sensitivity)
Set the sensitivity property: the sensitivity of the baseline.
Parameters:
Returns:
Applies to
Azure SDK for Java