Partilhar via


OperationKind Class

public final class OperationKind
extends ExpandableStringEnum<OperationKind>

Type of operation.

Field Summary

Modifier and Type Field and Description
static final OperationKind DOCUMENT_CLASSIFIER_BUILD

Build a new custom classifier model.

static final OperationKind DOCUMENT_CLASSIFIER_COPY_TO

Copy an existing document classifier to potentially a different resource, region, or subscription.

static final OperationKind DOCUMENT_MODEL_BUILD

Build a new custom document model.

static final OperationKind DOCUMENT_MODEL_COMPOSE

Compose a new custom document model from existing models.

static final OperationKind DOCUMENT_MODEL_COPY_TO

Copy an existing document model to potentially a different resource, region, or subscription.

Constructor Summary

Constructor Description
OperationKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationKind value.

Method Summary

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

Creates or finds a OperationKind from its string representation.

static Collection<OperationKind> values()

Gets known OperationKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DOCUMENT_CLASSIFIER_BUILD

public static final OperationKind DOCUMENT_CLASSIFIER_BUILD

Build a new custom classifier model.

DOCUMENT_CLASSIFIER_COPY_TO

public static final OperationKind DOCUMENT_CLASSIFIER_COPY_TO

Copy an existing document classifier to potentially a different resource, region, or subscription.

DOCUMENT_MODEL_BUILD

public static final OperationKind DOCUMENT_MODEL_BUILD

Build a new custom document model.

DOCUMENT_MODEL_COMPOSE

public static final OperationKind DOCUMENT_MODEL_COMPOSE

Compose a new custom document model from existing models.

DOCUMENT_MODEL_COPY_TO

public static final OperationKind DOCUMENT_MODEL_COPY_TO

Copy an existing document model to potentially a different resource, region, or subscription.

Constructor Details

OperationKind

@Deprecated
public OperationKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationKind value.

Method Details

fromString

public static OperationKind fromString(String name)

Creates or finds a OperationKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperationKind.

values

public static Collection values()

Gets known OperationKind values.

Returns:

known OperationKind values.

Applies to