ContentUnderstandingSkillExtractionOptions Class

public final class ContentUnderstandingSkillExtractionOptions
extends ExpandableStringEnum<ContentUnderstandingSkillExtractionOptions>

Controls the cardinality of the content extracted from the document by the skill.

Field Summary

Modifier and Type Field and Description
static final ContentUnderstandingSkillExtractionOptions IMAGES

Specify that image content should be extracted from the document.

static final ContentUnderstandingSkillExtractionOptions LOCATION_METADATA

Specify that location metadata should be extracted from the document.

Constructor Summary

Constructor Description
ContentUnderstandingSkillExtractionOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContentUnderstandingSkillExtractionOptions value.

Method Summary

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

Creates or finds a ContentUnderstandingSkillExtractionOptions from its string representation.

static Collection<ContentUnderstandingSkillExtractionOptions> values()

Gets known ContentUnderstandingSkillExtractionOptions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IMAGES

public static final ContentUnderstandingSkillExtractionOptions IMAGES

Specify that image content should be extracted from the document.

LOCATION_METADATA

public static final ContentUnderstandingSkillExtractionOptions LOCATION_METADATA

Specify that location metadata should be extracted from the document.

Constructor Details

ContentUnderstandingSkillExtractionOptions

@Deprecated
public ContentUnderstandingSkillExtractionOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContentUnderstandingSkillExtractionOptions value.

Method Details

fromString

public static ContentUnderstandingSkillExtractionOptions fromString(String name)

Creates or finds a ContentUnderstandingSkillExtractionOptions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ContentUnderstandingSkillExtractionOptions.

values

public static Collection<ContentUnderstandingSkillExtractionOptions> values()

Gets known ContentUnderstandingSkillExtractionOptions values.

Returns:

known ContentUnderstandingSkillExtractionOptions values.

Applies to