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

com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierDocumentReaderConfigDocumentReadMode.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: 0.122.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

/**
 * Determines the text extraction actions for PDF files. Enter one of the following values:
 * - `SERVICE_DEFAULT` - use the Amazon Comprehend service defaults for PDF files.
 * - `FORCE_DOCUMENT_READ_ACTION` - Amazon Comprehend uses the Textract API specified by DocumentReadAction for all PDF files, including digital PDF files.
 */
public enum class DocumentClassifierDocumentReaderConfigDocumentReadMode(
    public val javaValue: com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadMode,
) :
    ConvertibleToJava {
    ServiceDefault(com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadMode.ServiceDefault),
    ForceDocumentReadAction(com.pulumi.awsnative.comprehend.enums.DocumentClassifierDocumentReaderConfigDocumentReadMode.ForceDocumentReadAction),
    ;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy