com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierDocumentReaderConfigDocumentReadAction.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
/**
* 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 }
}
}