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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.DatasetCreateRequestRegistrationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestRegistrationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property description The description for the dataset.
 * @property name The name of the dataset.
 * @property tags Tags associated with the dataset.
 */
public data class DatasetCreateRequestRegistrationArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestRegistrationArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.DatasetCreateRequestRegistrationArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [DatasetCreateRequestRegistrationArgs].
 */
@PulumiTagMarker
public class DatasetCreateRequestRegistrationArgsBuilder internal constructor() {
    private var description: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The description for the dataset.
     */
    @JvmName("wlqksfkhhivlpgwh")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The name of the dataset.
     */
    @JvmName("iwascynohmonbncf")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Tags associated with the dataset.
     */
    @JvmName("frweslqynmvvvgwb")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value The description for the dataset.
     */
    @JvmName("wcpxcegynponwcob")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The name of the dataset.
     */
    @JvmName("siqlpiqsmijpbcut")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Tags associated with the dataset.
     */
    @JvmName("ivqihkrapnaopqhu")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Tags associated with the dataset.
     */
    @JvmName("ycdwwnwtynoxaaip")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): DatasetCreateRequestRegistrationArgs = DatasetCreateRequestRegistrationArgs(
        description = description,
        name = name,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy