BaselineAdjustedResult Class

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

Implements

public final class BaselineAdjustedResult
implements JsonSerializable<BaselineAdjustedResult>

SQL Vulnerability Assessment baseline adjusted results.

Constructor Summary

Constructor Description
BaselineAdjustedResult()

Creates an instance of BaselineAdjustedResult class.

Method Summary

Modifier and Type Method and Description
Baseline baseline()

Get the baseline property: SQL Vulnerability Assessment baseline details.

static BaselineAdjustedResult fromJson(JsonReader jsonReader)

Reads an instance of BaselineAdjustedResult from the JsonReader.

List<List<String>> resultsNotInBaseline()

Get the resultsNotInBaseline property: SQL Vulnerability Assessment results that are not in baseline.

List<List<String>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: SQL Vulnerability Assessment results that are in baseline.

RuleStatus status()

Get the status property: SQL Vulnerability Assessment baseline status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BaselineAdjustedResult

public BaselineAdjustedResult()

Creates an instance of BaselineAdjustedResult class.

Method Details

baseline

public Baseline baseline()

Get the baseline property: SQL Vulnerability Assessment 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: SQL Vulnerability Assessment results that are not in baseline.

Returns:

the resultsNotInBaseline value.

resultsOnlyInBaseline

public List<List<String>> resultsOnlyInBaseline()

Get the resultsOnlyInBaseline property: SQL Vulnerability Assessment results that are in baseline.

Returns:

the resultsOnlyInBaseline value.

status

public RuleStatus status()

Get the status property: SQL Vulnerability Assessment baseline status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to