VulnerabilityAssessmentScanError Class

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

Implements

public final class VulnerabilityAssessmentScanError
implements JsonSerializable<VulnerabilityAssessmentScanError>

Properties of a vulnerability assessment scan error.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The error code.

static VulnerabilityAssessmentScanError fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanError from the JsonReader.

String message()

Get the message property: The error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

code

public String code()

Get the code property: The error code.

Returns:

the code value.

fromJson

public static VulnerabilityAssessmentScanError fromJson(JsonReader jsonReader)

Reads an instance of VulnerabilityAssessmentScanError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to