Class ComputeNodeError
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.ComputeNodeError
-
public class ComputeNodeError extends Object
An error encountered by a Compute Node.
-
-
Constructor Summary
Constructors Constructor Description ComputeNodeError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get the code value.List<NameValuePair>
errorDetails()
Get the errorDetails value.String
message()
Get the message value.ComputeNodeError
withCode(String code)
Set the code value.ComputeNodeError
withErrorDetails(List<NameValuePair> errorDetails)
Set the errorDetails value.ComputeNodeError
withMessage(String message)
Set the message value.
-
-
-
Method Detail
-
code
public String code()
Get the code value.- Returns:
- the code value
-
withCode
public ComputeNodeError withCode(String code)
Set the code value.- Parameters:
code
- the code value to set- Returns:
- the ComputeNodeError object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public ComputeNodeError withMessage(String message)
Set the message value.- Parameters:
message
- the message value to set- Returns:
- the ComputeNodeError object itself.
-
errorDetails
public List<NameValuePair> errorDetails()
Get the errorDetails value.- Returns:
- the errorDetails value
-
withErrorDetails
public ComputeNodeError withErrorDetails(List<NameValuePair> errorDetails)
Set the errorDetails value.- Parameters:
errorDetails
- the errorDetails value to set- Returns:
- the ComputeNodeError object itself.
-
-