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

com.pulumi.azure.datafactory.kotlin.inputs.FlowletDataFlowSourceFlowletArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceFlowletArgs.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 datasetParameters Specifies the reference data flow parameters from dataset.
 * @property name The name for the Data Factory Flowlet.
 * @property parameters A map of parameters to associate with the Data Factory Flowlet.
 */
public data class FlowletDataFlowSourceFlowletArgs(
    public val datasetParameters: Output? = null,
    public val name: Output,
    public val parameters: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceFlowletArgs =
        com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceFlowletArgs.builder()
            .datasetParameters(datasetParameters?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [FlowletDataFlowSourceFlowletArgs].
 */
@PulumiTagMarker
public class FlowletDataFlowSourceFlowletArgsBuilder internal constructor() {
    private var datasetParameters: Output? = null

    private var name: Output? = null

    private var parameters: Output>? = null

    /**
     * @param value Specifies the reference data flow parameters from dataset.
     */
    @JvmName("jqqnmbtcvajanvwp")
    public suspend fun datasetParameters(`value`: Output) {
        this.datasetParameters = value
    }

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

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

    /**
     * @param value Specifies the reference data flow parameters from dataset.
     */
    @JvmName("yyplteifbrbtnsac")
    public suspend fun datasetParameters(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.datasetParameters = mapped
    }

    /**
     * @param value The name for the Data Factory Flowlet.
     */
    @JvmName("thxntbdwmafnnydt")
    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 Flowlet.
     */
    @JvmName("quppanlptknxghlv")
    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 Flowlet.
     */
    @JvmName("goxempwsgkyapxbo")
    public fun parameters(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameters = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy