JobSchedulingError Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobSchedulingError
- com.
public class JobSchedulingError
An error encountered by the Batch service when scheduling a Job.
Constructor Summary
Constructor | Description | |
---|---|---|
JobSchedulingError() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
category()
Get possible values include: 'user |
String |
code()
Get the code value. |
List<Name |
details()
Get the details value. |
String |
message()
Get the message value. |
Job |
withCategory(ErrorCategory category)
Set possible values include: 'user |
Job |
withCode(String code)
Set the code value. |
Job |
withDetails(List<NameValuePair> details)
Set the details value. |
Job |
withMessage(String message)
Set the message value. |
Methods inherited from java.lang.Object
Constructor Details
JobSchedulingError
public JobSchedulingError()
Method Details
category
public ErrorCategory category()
Get possible values include: 'userError', 'serverError'.
Returns:
code
public String code()
Get the code value.
Returns:
details
public List
Get the details value.
Returns:
message
public String message()
Get the message value.
Returns:
withCategory
public JobSchedulingError withCategory(ErrorCategory category)
Set possible values include: 'userError', 'serverError'.
Parameters:
Returns:
withCode
public JobSchedulingError withCode(String code)
Set the code value.
Parameters:
Returns:
withDetails
public JobSchedulingError withDetails(List
Set the details value.
Parameters:
Returns:
withMessage
public JobSchedulingError withMessage(String message)
Set the message value.
Parameters:
Returns:
Applies to
Azure SDK for Java