com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierMode.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
/**
* Indicates the mode in which the classifier will be trained. The classifier can be trained in multi-class (single-label) mode or multi-label mode. Multi-class mode identifies a single class label for each document and multi-label mode identifies one or more class labels for each document. Multiple labels for an individual document are separated by a delimiter. The default delimiter between labels is a pipe (|).
*/
public enum class DocumentClassifierMode(
public val javaValue: com.pulumi.awsnative.comprehend.enums.DocumentClassifierMode,
) : ConvertibleToJava {
MultiClass(com.pulumi.awsnative.comprehend.enums.DocumentClassifierMode.MultiClass),
MultiLabel(com.pulumi.awsnative.comprehend.enums.DocumentClassifierMode.MultiLabel),
;
override fun toJava(): com.pulumi.awsnative.comprehend.enums.DocumentClassifierMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.comprehend.enums.DocumentClassifierMode): DocumentClassifierMode = DocumentClassifierMode.values().first { it.javaValue == javaType }
}
}