RulesResultsInput Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. RulesResultsInput
- com.
Implements
public final class RulesResultsInput
implements JsonSerializable<RulesResultsInput>
Rules results input.
Constructor Summary
| Constructor | Description |
|---|---|
| RulesResultsInput() |
Creates an instance of Rules |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rules |
fromJson(JsonReader jsonReader)
Reads an instance of Rules |
| Boolean |
latestScan()
Get the latest |
| Map<String,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. |
|
Rules |
withLatestScan(Boolean latestScan)
Set the latest |
|
Rules |
withResults(Map<String,List<List<String>>> results)
Set the results property: Expected results to be inserted into the baseline. |
Methods inherited from java.lang.Object
Constructor Details
RulesResultsInput
public RulesResultsInput()
Creates an instance of RulesResultsInput class.
Method Details
fromJson
public static RulesResultsInput fromJson(JsonReader jsonReader)
Reads an instance of RulesResultsInput from the JsonReader.
Parameters:
Returns:
Throws:
latestScan
public Boolean latestScan()
Get the latestScan property: Take results from latest scan.
Returns:
results
public Map<String,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 RulesResultsInput withLatestScan(Boolean latestScan)
Set the latestScan property: Take results from latest scan.
Parameters:
Returns:
withResults
public RulesResultsInput withResults(Map<String,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: