VulnerabilityAssessmentScanError Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. VulnerabilityAssessmentScanError
- com.
Implements
public final class VulnerabilityAssessmentScanError
implements JsonSerializable<VulnerabilityAssessmentScanError>
Properties of a vulnerability assessment scan error.
Constructor Summary
Constructor | Description |
---|---|
VulnerabilityAssessmentScanError() |
Creates an instance of Vulnerability |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The error code. |
static
Vulnerability |
fromJson(JsonReader jsonReader)
Reads an instance of Vulnerability |
String |
message()
Get the message property: The error message. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VulnerabilityAssessmentScanError
public VulnerabilityAssessmentScanError()
Creates an instance of VulnerabilityAssessmentScanError class.
Method Details
code
public String code()
Get the code property: The error code.
Returns:
fromJson
public static VulnerabilityAssessmentScanError fromJson(JsonReader jsonReader)
Reads an instance of VulnerabilityAssessmentScanError from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The error message.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java