All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.comprehend.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:
 * - `TEXTRACT_DETECT_DOCUMENT_TEXT` - The Amazon Comprehend service uses the `DetectDocumentText` API operation.
 * - `TEXTRACT_ANALYZE_DOCUMENT` - The Amazon Comprehend service uses the `AnalyzeDocument` API operation.
 */
public enum class DocumentClassifierDocumentReaderConfigDocumentReadAction(
    public val javaValue: com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction,
) :
    ConvertibleToJava {
    TextractDetectDocumentText(com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction.TextractDetectDocumentText),
    TextractAnalyzeDocument(com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction.TextractAnalyzeDocument),
    ;

    override fun toJava(): com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction): DocumentClassifierDocumentReaderConfigDocumentReadAction =
            DocumentClassifierDocumentReaderConfigDocumentReadAction.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy