BatchTaskFailureInfo Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskFailureInfo
- com.
Implements
public final class BatchTaskFailureInfo
implements JsonSerializable<BatchTaskFailureInfo>
Information about a Task failure.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Batch |
getCategory()
Get the category property: The category of the Task error. |
| String |
getCode()
Get the code property: An identifier for the Task error. |
|
List<Name |
getDetails()
Get the details property: A list of additional details related to the error. |
| String |
getMessage()
Get the message property: A message describing the Task error, intended to be suitable for display in a user interface. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskFailureInfo fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskFailureInfo from the JsonReader.
Parameters:
Returns:
Throws:
getCategory
public BatchErrorSourceCategory getCategory()
Get the category property: The category of the Task error.
Returns:
getCode
public String getCode()
Get the code property: An identifier for the Task error. Codes are invariant and are intended to be consumed programmatically.
Returns:
getDetails
public List<NameValuePair> getDetails()
Get the details property: A list of additional details related to the error.
Returns:
getMessage
public String getMessage()
Get the message property: A message describing the Task error, intended to be suitable for display in a user interface.
Returns: