Class SapLandscapeMonitorMetricThresholds
java.lang.Object
com.azure.resourcemanager.workloads.models.SapLandscapeMonitorMetricThresholds
Gets or sets the Threshold Values for Top Metrics Health.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SapLandscapeMonitorMetricThresholds class. -
Method Summary
Modifier and TypeMethodDescriptiongreen()
Get the green property: Gets or sets the threshold value for Green.name()
Get the name property: Gets or sets the name of the threshold.red()
Get the red property: Gets or sets the threshold value for Red.void
validate()
Validates the instance.Set the green property: Gets or sets the threshold value for Green.Set the name property: Gets or sets the name of the threshold.Set the red property: Gets or sets the threshold value for Red.withYellow
(Float yellow) Set the yellow property: Gets or sets the threshold value for Yellow.yellow()
Get the yellow property: Gets or sets the threshold value for Yellow.
-
Constructor Details
-
SapLandscapeMonitorMetricThresholds
public SapLandscapeMonitorMetricThresholds()Creates an instance of SapLandscapeMonitorMetricThresholds class.
-
-
Method Details
-
name
Get the name property: Gets or sets the name of the threshold.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets the name of the threshold.- Parameters:
name
- the name value to set.- Returns:
- the SapLandscapeMonitorMetricThresholds object itself.
-
green
Get the green property: Gets or sets the threshold value for Green.- Returns:
- the green value.
-
withGreen
Set the green property: Gets or sets the threshold value for Green.- Parameters:
green
- the green value to set.- Returns:
- the SapLandscapeMonitorMetricThresholds object itself.
-
yellow
Get the yellow property: Gets or sets the threshold value for Yellow.- Returns:
- the yellow value.
-
withYellow
Set the yellow property: Gets or sets the threshold value for Yellow.- Parameters:
yellow
- the yellow value to set.- Returns:
- the SapLandscapeMonitorMetricThresholds object itself.
-
red
Get the red property: Gets or sets the threshold value for Red.- Returns:
- the red value.
-
withRed
Set the red property: Gets or sets the threshold value for Red.- Parameters:
red
- the red value to set.- Returns:
- the SapLandscapeMonitorMetricThresholds object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-