BatchErrorSourceCategory Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchErrorSourceCategory
- com.
- com.
public final class BatchErrorSourceCategory
extends ExpandableStringEnum<BatchErrorSourceCategory>
BatchErrorSourceCategory enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
SERVER_ERROR
The error is due to an internal server issue. |
|
static final
Batch |
USER_ERROR
The error is due to a user issue, such as misconfiguration. |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchErrorSourceCategory() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromString(String name)
Creates or finds a Batch |
|
static
Collection<Batch |
values()
Gets known Batch |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
SERVER_ERROR
public static final BatchErrorSourceCategory SERVER_ERROR
The error is due to an internal server issue.
USER_ERROR
public static final BatchErrorSourceCategory USER_ERROR
The error is due to a user issue, such as misconfiguration.
Constructor Details
BatchErrorSourceCategory
@Deprecated
public BatchErrorSourceCategory()
Deprecated
Creates a new instance of BatchErrorSourceCategory value.
Method Details
fromString
public static BatchErrorSourceCategory fromString(String name)
Creates or finds a BatchErrorSourceCategory from its string representation.
Parameters:
Returns:
values
public static Collection<BatchErrorSourceCategory> values()
Gets known BatchErrorSourceCategory values.
Returns: