com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierDocumentReaderConfigDocumentReadMode.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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 }
}
}