Share via


SapVirtualInstanceError Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.SapVirtualInstanceError

Implements

public final class SapVirtualInstanceError
implements JsonSerializable<SapVirtualInstanceError>

An error response from the Virtual Instance for SAP Workload service.

Method Summary

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

Reads an instance of SapVirtualInstanceError from the JsonReader.

ErrorDefinition properties()

Get the properties property: The Virtual Instance for SAP error body.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static SapVirtualInstanceError fromJson(JsonReader jsonReader)

Reads an instance of SapVirtualInstanceError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public ErrorDefinition properties()

Get the properties property: The Virtual Instance for SAP error body.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to