Class BaselineAdjustedResult
java.lang.Object
com.azure.resourcemanager.security.models.BaselineAdjustedResult
The rule result adjusted with baseline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbaseline()
Get the baseline property: Baseline details.Get the resultsNotInBaseline property: Results the are not in baseline.Get the resultsOnlyInBaseline property: Results the are in baseline.status()
Get the status property: The rule result status.void
validate()
Validates the instance.withBaseline
(Baseline baseline) Set the baseline property: Baseline details.withResultsNotInBaseline
(List<List<String>> resultsNotInBaseline) Set the resultsNotInBaseline property: Results the are not in baseline.withResultsOnlyInBaseline
(List<List<String>> resultsOnlyInBaseline) Set the resultsOnlyInBaseline property: Results the are in baseline.withStatus
(RuleStatus status) Set the status property: The rule result status.
-
Constructor Details
-
BaselineAdjustedResult
public BaselineAdjustedResult()
-
-
Method Details
-
baseline
Get the baseline property: Baseline details.- Returns:
- the baseline value.
-
withBaseline
Set the baseline property: Baseline details.- Parameters:
baseline
- the baseline value to set.- Returns:
- the BaselineAdjustedResult object itself.
-
status
Get the status property: The rule result status.- Returns:
- the status value.
-
withStatus
Set the status property: The rule result status.- Parameters:
status
- the status value to set.- Returns:
- the BaselineAdjustedResult object itself.
-
resultsNotInBaseline
Get the resultsNotInBaseline property: Results the are not in baseline.- Returns:
- the resultsNotInBaseline value.
-
withResultsNotInBaseline
Set the resultsNotInBaseline property: Results the are not in baseline.- Parameters:
resultsNotInBaseline
- the resultsNotInBaseline value to set.- Returns:
- the BaselineAdjustedResult object itself.
-
resultsOnlyInBaseline
Get the resultsOnlyInBaseline property: Results the are in baseline.- Returns:
- the resultsOnlyInBaseline value.
-
withResultsOnlyInBaseline
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.
-