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

com.pulumi.awsnative.comprehend.kotlin.enums.DocumentClassifierMode.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

/**
 * 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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy