BatchError Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. BatchError
- com.
public class BatchError
An error response received from the Azure Batch service.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code value. |
Error |
message()
Get the message value. |
List<Batch |
values()
Get the values value. |
Batch |
withCode(String code)
Set the code value. |
Batch |
withMessage(ErrorMessage message)
Set the message value. |
Batch |
withValues(List<BatchErrorDetail> values)
Set the values value. |
Method Details
code
public String code()
Get the code value.
Returns:
message
public ErrorMessage message()
Get the message value.
Returns:
values
public List
Get the values value.
Returns:
withCode
public BatchError withCode(String code)
Set the code value.
Parameters:
Returns:
withMessage
public BatchError withMessage(ErrorMessage message)
Set the message value.
Parameters:
Returns:
withValues
public BatchError withValues(List
Set the values value.
Parameters:
Returns:
Applies to
Azure SDK for Java