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

com.pulumi.awsnative.comprehend.kotlin.outputs.FlywheelDocumentClassificationConfig.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.outputs

import com.pulumi.awsnative.comprehend.kotlin.enums.FlywheelDocumentClassificationConfigMode
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property labels One or more labels to associate with the custom classifier.
 * @property mode Classification mode indicates whether the documents are `MULTI_CLASS` or `MULTI_LABEL` .
 */
public data class FlywheelDocumentClassificationConfig(
    public val labels: List? = null,
    public val mode: FlywheelDocumentClassificationConfigMode,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.comprehend.outputs.FlywheelDocumentClassificationConfig): FlywheelDocumentClassificationConfig = FlywheelDocumentClassificationConfig(
            labels = javaType.labels().map({ args0 -> args0 }),
            mode = javaType.mode().let({ args0 ->
                com.pulumi.awsnative.comprehend.kotlin.enums.FlywheelDocumentClassificationConfigMode.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy