JobErrorItem Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. JobErrorItem
- com.
Implements
public final class JobErrorItem
implements JsonSerializable<JobErrorItem>
The job error items.
Constructor Summary
| Constructor | Description |
|---|---|
| JobErrorItem() |
Creates an instance of Job |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The code intended for programmatic access. |
|
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
| String |
message()
Get the message property: The message that describes the error in detail. |
| List<String> |
recommendations()
Get the recommendations property: The recommended actions. |
|
Json |
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:
fromJson
public static JobErrorItem fromJson(JsonReader jsonReader)
Reads an instance of JobErrorItem from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The message that describes the error in detail.
Returns:
recommendations
public List<String> recommendations()
Get the recommendations property: The recommended actions.
Returns:
toJson
validate
public void validate()
Validates the instance.