BaselineAdjustedResult Class

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

Implements

public final class BaselineAdjustedResult
implements JsonSerializable<BaselineAdjustedResult>

The rule result adjusted with baseline.

Method Summary

Modifier and Type Method and Description
Baseline baseline()

Get the baseline property: Baseline details.

static BaselineAdjustedResult fromJson(JsonReader jsonReader)

Reads an instance of BaselineAdjustedResult from the JsonReader.

List<List<String>> resultsNotInBaseline()

Get the resultsNotInBaseline property: Results that are not in the baseline.

List<List<String>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: Results that are in the baseline.

RuleStatus status()

Get the status property: The rule result status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

baseline

public Baseline baseline()

Get the baseline property: Baseline details.

Returns:

the baseline value.

fromJson

public static BaselineAdjustedResult fromJson(JsonReader jsonReader)

Reads an instance of BaselineAdjustedResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BaselineAdjustedResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BaselineAdjustedResult.

resultsNotInBaseline

public List<List<String>> resultsNotInBaseline()

Get the resultsNotInBaseline property: Results that are not in the baseline.

Returns:

the resultsNotInBaseline value.

resultsOnlyInBaseline

public List<List<String>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: Results that are in the baseline.

Returns:

the resultsOnlyInBaseline value.

status

public RuleStatus status()

Get the status property: The rule result status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to