Share via


BatchErrorSourceCategory Class

public final class BatchErrorSourceCategory
extends ExpandableStringEnum<BatchErrorSourceCategory>

BatchErrorSourceCategory enums.

Field Summary

Modifier and Type Field and Description
static final BatchErrorSourceCategory SERVER_ERROR

The error is due to an internal server issue.

static final BatchErrorSourceCategory 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 BatchErrorSourceCategory value.

Method Summary

Modifier and Type Method and Description
static BatchErrorSourceCategory fromString(String name)

Creates or finds a BatchErrorSourceCategory from its string representation.

static Collection<BatchErrorSourceCategory> values()

Gets known BatchErrorSourceCategory values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding BatchErrorSourceCategory.

values

public static Collection<BatchErrorSourceCategory> values()

Gets known BatchErrorSourceCategory values.

Returns:

known BatchErrorSourceCategory values.

Applies to