Share via


DocumentIntelligenceLayoutSkillExtractionOptions Class

public final class DocumentIntelligenceLayoutSkillExtractionOptions
extends ExpandableStringEnum<DocumentIntelligenceLayoutSkillExtractionOptions>

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

Field Summary

Modifier and Type Field and Description
static final DocumentIntelligenceLayoutSkillExtractionOptions IMAGES

Specify that image content should be extracted from the document.

static final DocumentIntelligenceLayoutSkillExtractionOptions LOCATION_METADATA

Specify that location metadata should be extracted from the document.

Constructor Summary

Constructor Description
DocumentIntelligenceLayoutSkillExtractionOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentIntelligenceLayoutSkillExtractionOptions value.

Method Summary

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

Creates or finds a DocumentIntelligenceLayoutSkillExtractionOptions from its string representation.

static Collection<DocumentIntelligenceLayoutSkillExtractionOptions> values()

Gets known DocumentIntelligenceLayoutSkillExtractionOptions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IMAGES

public static final DocumentIntelligenceLayoutSkillExtractionOptions IMAGES

Specify that image content should be extracted from the document.

LOCATION_METADATA

public static final DocumentIntelligenceLayoutSkillExtractionOptions LOCATION_METADATA

Specify that location metadata should be extracted from the document.

Constructor Details

DocumentIntelligenceLayoutSkillExtractionOptions

@Deprecated
public DocumentIntelligenceLayoutSkillExtractionOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentIntelligenceLayoutSkillExtractionOptions value.

Method Details

fromString

public static DocumentIntelligenceLayoutSkillExtractionOptions fromString(String name)

Creates or finds a DocumentIntelligenceLayoutSkillExtractionOptions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DocumentIntelligenceLayoutSkillExtractionOptions.

values

public static Collection<DocumentIntelligenceLayoutSkillExtractionOptions> values()

Gets known DocumentIntelligenceLayoutSkillExtractionOptions values.

Returns:

known DocumentIntelligenceLayoutSkillExtractionOptions values.

Applies to