
com.pulumi.awsnative.comprehend.kotlin.inputs.FlywheelDocumentClassificationConfigArgs.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.inputs
import com.pulumi.awsnative.comprehend.inputs.FlywheelDocumentClassificationConfigArgs.builder
import com.pulumi.awsnative.comprehend.kotlin.enums.FlywheelDocumentClassificationConfigMode
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 FlywheelDocumentClassificationConfigArgs(
public val labels: Output>? = null,
public val mode: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.comprehend.inputs.FlywheelDocumentClassificationConfigArgs =
com.pulumi.awsnative.comprehend.inputs.FlywheelDocumentClassificationConfigArgs.builder()
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.mode(mode.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FlywheelDocumentClassificationConfigArgs].
*/
@PulumiTagMarker
public class FlywheelDocumentClassificationConfigArgsBuilder internal constructor() {
private var labels: Output>? = null
private var mode: Output? = null
/**
* @param value One or more labels to associate with the custom classifier.
*/
@JvmName("rcvuhbkxrfxyhanw")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
@JvmName("qxqkswofxyqkwdnc")
public suspend fun labels(vararg values: Output) {
this.labels = Output.all(values.asList())
}
/**
* @param values One or more labels to associate with the custom classifier.
*/
@JvmName("qcbsouggxbbsmpcw")
public suspend fun labels(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy