DatabaseVulnerabilityAssessmentRuleBaselineItem Class

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

Implements

public final class DatabaseVulnerabilityAssessmentRuleBaselineItem
implements JsonSerializable<DatabaseVulnerabilityAssessmentRuleBaselineItem>

Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result.

Constructor Summary

Constructor Description
DatabaseVulnerabilityAssessmentRuleBaselineItem()

Creates an instance of DatabaseVulnerabilityAssessmentRuleBaselineItem class.

Method Summary

Modifier and Type Method and Description
static DatabaseVulnerabilityAssessmentRuleBaselineItem fromJson(JsonReader jsonReader)

Reads an instance of DatabaseVulnerabilityAssessmentRuleBaselineItem from the JsonReader.

List<String> result()

Get the result property: The rule baseline result.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatabaseVulnerabilityAssessmentRuleBaselineItem withResult(List<String> result)

Set the result property: The rule baseline result.

Methods inherited from java.lang.Object

Constructor Details

DatabaseVulnerabilityAssessmentRuleBaselineItem

public DatabaseVulnerabilityAssessmentRuleBaselineItem()

Creates an instance of DatabaseVulnerabilityAssessmentRuleBaselineItem class.

Method Details

fromJson

public static DatabaseVulnerabilityAssessmentRuleBaselineItem fromJson(JsonReader jsonReader)

Reads an instance of DatabaseVulnerabilityAssessmentRuleBaselineItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

result

public List result()

Get the result property: The rule baseline result.

Returns:

the result value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResult

public DatabaseVulnerabilityAssessmentRuleBaselineItem withResult(List result)

Set the result property: The rule baseline result.

Parameters:

result - the result value to set.

Returns:

the DatabaseVulnerabilityAssessmentRuleBaselineItem object itself.

Applies to