Class RuleResultsInput
java.lang.Object
com.azure.resourcemanager.security.models.RuleResultsInput
Rule results input.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the latestScan property: Take results from latest scan.results()
Get the results property: Expected results to be inserted into the baseline.void
validate()
Validates the instance.withLatestScan
(Boolean latestScan) Set the latestScan property: Take results from latest scan.withResults
(List<List<String>> results) Set the results property: Expected results to be inserted into the baseline.
-
Constructor Details
-
RuleResultsInput
public RuleResultsInput()
-
-
Method Details
-
latestScan
Get the latestScan property: Take results from latest scan.- Returns:
- the latestScan value.
-
withLatestScan
Set the latestScan property: Take results from latest scan.- Parameters:
latestScan
- the latestScan value to set.- Returns:
- the RuleResultsInput object itself.
-
results
Get the results property: Expected results to be inserted into the baseline. Leave this field empty it LatestScan == true.- Returns:
- the results value.
-
withResults
Set the results property: Expected results to be inserted into the baseline. Leave this field empty it LatestScan == true.- Parameters:
results
- the results value to set.- Returns:
- the RuleResultsInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-