RuleResultsInput Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. RuleResultsInput
- com.
Implements
public final class RuleResultsInput
implements JsonSerializable<RuleResultsInput>
Rule results input.
Constructor Summary
| Constructor | Description |
|---|---|
| RuleResultsInput() |
Creates an instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromJson(JsonReader jsonReader)
Reads an instance of Rule |
| Boolean |
latestScan()
Get the latest |
| List<List<String>> |
results()
Get the results property: Expected results to be inserted into the baseline. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Rule |
withLatestScan(Boolean latestScan)
Set the latest |
|
Rule |
withResults(List<List<String>> results)
Set the results property: Expected results to be inserted into the baseline. |
Methods inherited from java.lang.Object
Constructor Details
RuleResultsInput
public RuleResultsInput()
Creates an instance of RuleResultsInput class.
Method Details
fromJson
public static RuleResultsInput fromJson(JsonReader jsonReader)
Reads an instance of RuleResultsInput from the JsonReader.
Parameters:
Returns:
Throws:
latestScan
public Boolean latestScan()
Get the latestScan property: Take results from latest scan.
Returns:
results
public List<List<String>> results()
Get the results property: Expected results to be inserted into the baseline. Leave this field empty if latestScan == true.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLatestScan
public RuleResultsInput withLatestScan(Boolean latestScan)
Set the latestScan property: Take results from latest scan.
Parameters:
Returns:
withResults
public RuleResultsInput withResults(List<List<String>> results)
Set the results property: Expected results to be inserted into the baseline. Leave this field empty if latestScan == true.
Parameters:
Returns: