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

com.pulumi.azure.datafactory.kotlin.inputs.DataFlowSinkDatasetArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.datafactory.kotlin.inputs

import com.pulumi.azure.datafactory.inputs.DataFlowSinkDatasetArgs.builder
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property name The name for the Data Factory Dataset.
 * @property parameters A map of parameters to associate with the Data Factory dataset.
 */
public data class DataFlowSinkDatasetArgs(
    public val name: Output,
    public val parameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.DataFlowSinkDatasetArgs =
        com.pulumi.azure.datafactory.inputs.DataFlowSinkDatasetArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [DataFlowSinkDatasetArgs].
 */
@PulumiTagMarker
public class DataFlowSinkDatasetArgsBuilder internal constructor() {
    private var name: Output? = null

    private var parameters: Output>? = null

    /**
     * @param value The name for the Data Factory Dataset.
     */
    @JvmName("fqiamawusphhyqxy")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value A map of parameters to associate with the Data Factory dataset.
     */
    @JvmName("xexdubayfwmdydow")
    public suspend fun parameters(`value`: Output>) {
        this.parameters = value
    }

    /**
     * @param value The name for the Data Factory Dataset.
     */
    @JvmName("fnttqhqkuyfeqbtu")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value A map of parameters to associate with the Data Factory dataset.
     */
    @JvmName("ervwxhcspvqmekrx")
    public suspend fun parameters(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    /**
     * @param values A map of parameters to associate with the Data Factory dataset.
     */
    @JvmName("qrbcuqayxrdyklud")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

    internal fun build(): DataFlowSinkDatasetArgs = DataFlowSinkDatasetArgs(
        name = name ?: throw PulumiNullFieldException("name"),
        parameters = parameters,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy