Class BaselineAdjustedResult

java.lang.Object
com.azure.resourcemanager.security.models.BaselineAdjustedResult

public final class BaselineAdjustedResult extends Object
The rule result adjusted with baseline.
  • Constructor Details

    • BaselineAdjustedResult

      public BaselineAdjustedResult()
  • Method Details

    • baseline

      public Baseline baseline()
      Get the baseline property: Baseline details.
      Returns:
      the baseline value.
    • withBaseline

      public BaselineAdjustedResult withBaseline(Baseline baseline)
      Set the baseline property: Baseline details.
      Parameters:
      baseline - the baseline value to set.
      Returns:
      the BaselineAdjustedResult object itself.
    • status

      public RuleStatus status()
      Get the status property: The rule result status.
      Returns:
      the status value.
    • withStatus

      public BaselineAdjustedResult withStatus(RuleStatus status)
      Set the status property: The rule result status.
      Parameters:
      status - the status value to set.
      Returns:
      the BaselineAdjustedResult object itself.
    • resultsNotInBaseline

      public List<List<String>> resultsNotInBaseline()
      Get the resultsNotInBaseline property: Results the are not in baseline.
      Returns:
      the resultsNotInBaseline value.
    • withResultsNotInBaseline

      public BaselineAdjustedResult withResultsNotInBaseline(List<List<String>> resultsNotInBaseline)
      Set the resultsNotInBaseline property: Results the are not in baseline.
      Parameters:
      resultsNotInBaseline - the resultsNotInBaseline value to set.
      Returns:
      the BaselineAdjustedResult object itself.
    • resultsOnlyInBaseline

      public List<List<String>> resultsOnlyInBaseline()
      Get the resultsOnlyInBaseline property: Results the are in baseline.
      Returns:
      the resultsOnlyInBaseline value.
    • withResultsOnlyInBaseline

      public BaselineAdjustedResult withResultsOnlyInBaseline(List<List<String>> resultsOnlyInBaseline)
      Set the resultsOnlyInBaseline property: Results the are in baseline.
      Parameters:
      resultsOnlyInBaseline - the resultsOnlyInBaseline value to set.
      Returns:
      the BaselineAdjustedResult object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.