Class SapLandscapeMonitorMetricThresholds

java.lang.Object
com.azure.resourcemanager.workloads.models.SapLandscapeMonitorMetricThresholds

public final class SapLandscapeMonitorMetricThresholds extends Object
Gets or sets the Threshold Values for Top Metrics Health.
  • Constructor Details

    • SapLandscapeMonitorMetricThresholds

      public SapLandscapeMonitorMetricThresholds()
      Creates an instance of SapLandscapeMonitorMetricThresholds class.
  • Method Details

    • name

      public String 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

      public Float green()
      Get the green property: Gets or sets the threshold value for Green.
      Returns:
      the green value.
    • withGreen

      public SapLandscapeMonitorMetricThresholds withGreen(Float green)
      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

      public Float yellow()
      Get the yellow property: Gets or sets the threshold value for Yellow.
      Returns:
      the yellow value.
    • withYellow

      public SapLandscapeMonitorMetricThresholds withYellow(Float yellow)
      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

      public Float 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.