DatabaseVulnerabilityAssessmentRuleBaselineInner Class

public final class DatabaseVulnerabilityAssessmentRuleBaselineInner
extends ProxyResource

A database vulnerability assessment rule baseline.

Constructor Summary

Constructor Description
DatabaseVulnerabilityAssessmentRuleBaselineInner()

Creates an instance of DatabaseVulnerabilityAssessmentRuleBaselineInner class.

Method Summary

Modifier and Type Method and Description
List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults()

Get the baselineResults property: The rule baseline result.

static DatabaseVulnerabilityAssessmentRuleBaselineInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseVulnerabilityAssessmentRuleBaselineInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

DatabaseVulnerabilityAssessmentRuleBaselineInner withBaselineResults(List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults)

Set the baselineResults property: The rule baseline result.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DatabaseVulnerabilityAssessmentRuleBaselineInner

public DatabaseVulnerabilityAssessmentRuleBaselineInner()

Creates an instance of DatabaseVulnerabilityAssessmentRuleBaselineInner class.

Method Details

baselineResults

public List baselineResults()

Get the baselineResults property: The rule baseline result.

Returns:

the baselineResults value.

fromJson

public static DatabaseVulnerabilityAssessmentRuleBaselineInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseVulnerabilityAssessmentRuleBaselineInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatabaseVulnerabilityAssessmentRuleBaselineInner 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DatabaseVulnerabilityAssessmentRuleBaselineInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DatabaseVulnerabilityAssessmentRuleBaselineInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DatabaseVulnerabilityAssessmentRuleBaselineInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DatabaseVulnerabilityAssessmentRuleBaselineInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBaselineResults

public DatabaseVulnerabilityAssessmentRuleBaselineInner withBaselineResults(List baselineResults)

Set the baselineResults property: The rule baseline result.

Parameters:

baselineResults - the baselineResults value to set.

Returns:

the DatabaseVulnerabilityAssessmentRuleBaselineInner object itself.

Applies to