Aracılığıyla paylaş


JobErrorItem Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.models.JobErrorItem

Implements

public final class JobErrorItem
implements JsonSerializable<JobErrorItem>

The job error items.

Constructor Summary

Constructor Description
JobErrorItem()

Creates an instance of JobErrorItem class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The code intended for programmatic access.

static JobErrorItem fromJson(JsonReader jsonReader)

Reads an instance of JobErrorItem from the JsonReader.

String message()

Get the message property: The message that describes the error in detail.

List<String> recommendations()

Get the recommendations property: The recommended actions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

JobErrorItem

public JobErrorItem()

Creates an instance of JobErrorItem class.

Method Details

code

public String code()

Get the code property: The code intended for programmatic access.

Returns:

the code value.

fromJson

public static JobErrorItem fromJson(JsonReader jsonReader)

Reads an instance of JobErrorItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The message that describes the error in detail.

Returns:

the message value.

recommendations

public List<String> recommendations()

Get the recommendations property: The recommended actions.

Returns:

the recommendations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to