DatabaseVulnerabilityAssessmentRuleBaselineInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. DatabaseVulnerabilityAssessmentRuleBaselineInner
- com.
- com.
public final class DatabaseVulnerabilityAssessmentRuleBaselineInner
extends ProxyResource
A database vulnerability assessment rule baseline.
Constructor Summary
Constructor | Description |
---|---|
DatabaseVulnerabilityAssessmentRuleBaselineInner() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Database |
baselineResults()
Get the baseline |
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Database |
withBaselineResults(List<DatabaseVulnerabilityAssessmentRuleBaselineItem> baselineResults)
Set the baseline |
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
Get the baselineResults property: The rule baseline result.
Returns:
fromJson
public static DatabaseVulnerabilityAssessmentRuleBaselineInner fromJson(JsonReader jsonReader)
Reads an instance of DatabaseVulnerabilityAssessmentRuleBaselineInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DatabaseVulnerabilityAssessmentRuleBaselineInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DatabaseVulnerabilityAssessmentRuleBaselineInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DatabaseVulnerabilityAssessmentRuleBaselineInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DatabaseVulnerabilityAssessmentRuleBaselineInner.type()Returns:
validate
public void validate()
Validates the instance.
withBaselineResults
public DatabaseVulnerabilityAssessmentRuleBaselineInner withBaselineResults(List
Set the baselineResults property: The rule baseline result.
Parameters:
Returns:
Applies to
Azure SDK for Java