BatchNodeError Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchNodeError
- com.
Implements
public final class BatchNodeError
implements JsonSerializable<BatchNodeError>
An error encountered by a Compute Node.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| String |
getCode()
Get the code property: An identifier for the Compute Node error. |
|
List<Name |
getErrorDetails()
Get the error |
| String |
getMessage()
Get the message property: A message describing the Compute Node 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 BatchNodeError fromJson(JsonReader jsonReader)
Reads an instance of BatchNodeError from the JsonReader.
Parameters:
Returns:
Throws:
getCode
public String getCode()
Get the code property: An identifier for the Compute Node error. Codes are invariant and are intended to be consumed programmatically.
Returns:
getErrorDetails
public List<NameValuePair> getErrorDetails()
Get the errorDetails property: The list of additional error details related to the Compute Node error.
Returns:
getMessage
public String getMessage()
Get the message property: A message describing the Compute Node error, intended to be suitable for display in a user interface.
Returns: