Share via


ErrorInnerError Class

  • java.lang.Object
    • com.azure.resourcemanager.workloads.models.ErrorInnerError

Implements

public final class ErrorInnerError
implements JsonSerializable<ErrorInnerError>

Object containing more specific information than the current object about the error.

Constructor Summary

Constructor Description
ErrorInnerError()

Creates an instance of ErrorInnerError class.

Method Summary

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

Reads an instance of ErrorInnerError from the JsonReader.

Error innerError()

Get the innerError property: Standard error object.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ErrorInnerError withInnerError(Error innerError)

Set the innerError property: Standard error object.

Methods inherited from java.lang.Object

Constructor Details

ErrorInnerError

public ErrorInnerError()

Creates an instance of ErrorInnerError class.

Method Details

fromJson

public static ErrorInnerError fromJson(JsonReader jsonReader)

Reads an instance of ErrorInnerError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

innerError

public Error innerError()

Get the innerError property: Standard error object.

Returns:

the innerError value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withInnerError

public ErrorInnerError withInnerError(Error innerError)

Set the innerError property: Standard error object.

Parameters:

innerError - the innerError value to set.

Returns:

the ErrorInnerError object itself.

Applies to