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

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

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

import com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property dataset A `dataset` block as defined below.
 * @property description The description for the Data Flow Source.
 * @property flowlet A `flowlet` block as defined below.
 * @property linkedService A `linked_service` block as defined below.
 * @property name The name for the Data Flow Source.
 * @property rejectedLinkedService A `rejected_linked_service` block as defined below.
 * @property schemaLinkedService A `schema_linked_service` block as defined below.
 */
public data class FlowletDataFlowSourceArgs(
    public val dataset: Output? = null,
    public val description: Output? = null,
    public val flowlet: Output? = null,
    public val linkedService: Output? = null,
    public val name: Output,
    public val rejectedLinkedService: Output? = null,
    public val schemaLinkedService: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceArgs =
        com.pulumi.azure.datafactory.inputs.FlowletDataFlowSourceArgs.builder()
            .dataset(dataset?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .description(description?.applyValue({ args0 -> args0 }))
            .flowlet(flowlet?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .linkedService(linkedService?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .name(name.applyValue({ args0 -> args0 }))
            .rejectedLinkedService(
                rejectedLinkedService?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .schemaLinkedService(
                schemaLinkedService?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [FlowletDataFlowSourceArgs].
 */
@PulumiTagMarker
public class FlowletDataFlowSourceArgsBuilder internal constructor() {
    private var dataset: Output? = null

    private var description: Output? = null

    private var flowlet: Output? = null

    private var linkedService: Output? = null

    private var name: Output? = null

    private var rejectedLinkedService: Output? = null

    private var schemaLinkedService: Output? = null

    /**
     * @param value A `dataset` block as defined below.
     */
    @JvmName("ernuhaxotevagsby")
    public suspend fun dataset(`value`: Output) {
        this.dataset = value
    }

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

    /**
     * @param value A `flowlet` block as defined below.
     */
    @JvmName("pqosaevkmebqfbxq")
    public suspend fun flowlet(`value`: Output) {
        this.flowlet = value
    }

    /**
     * @param value A `linked_service` block as defined below.
     */
    @JvmName("tdinevvvxxliihuu")
    public suspend fun linkedService(`value`: Output) {
        this.linkedService = value
    }

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

    /**
     * @param value A `rejected_linked_service` block as defined below.
     */
    @JvmName("wphdmileglwnwwdh")
    public suspend
    fun rejectedLinkedService(`value`: Output) {
        this.rejectedLinkedService = value
    }

    /**
     * @param value A `schema_linked_service` block as defined below.
     */
    @JvmName("yrmjlyauvbpktmii")
    public suspend
    fun schemaLinkedService(`value`: Output) {
        this.schemaLinkedService = value
    }

    /**
     * @param value A `dataset` block as defined below.
     */
    @JvmName("smhroonweetykwim")
    public suspend fun dataset(`value`: FlowletDataFlowSourceDatasetArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataset = mapped
    }

    /**
     * @param argument A `dataset` block as defined below.
     */
    @JvmName("chuoefhvmfwuifnv")
    public suspend fun dataset(argument: suspend FlowletDataFlowSourceDatasetArgsBuilder.() -> Unit) {
        val toBeMapped = FlowletDataFlowSourceDatasetArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataset = mapped
    }

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

    /**
     * @param value A `flowlet` block as defined below.
     */
    @JvmName("mfjmfsbmaopbesob")
    public suspend fun flowlet(`value`: FlowletDataFlowSourceFlowletArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.flowlet = mapped
    }

    /**
     * @param argument A `flowlet` block as defined below.
     */
    @JvmName("pmhtwtaactlprarv")
    public suspend fun flowlet(argument: suspend FlowletDataFlowSourceFlowletArgsBuilder.() -> Unit) {
        val toBeMapped = FlowletDataFlowSourceFlowletArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.flowlet = mapped
    }

    /**
     * @param value A `linked_service` block as defined below.
     */
    @JvmName("nvfgpxbeqpfqwlbi")
    public suspend fun linkedService(`value`: FlowletDataFlowSourceLinkedServiceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.linkedService = mapped
    }

    /**
     * @param argument A `linked_service` block as defined below.
     */
    @JvmName("rufoknaxngojhqgh")
    public suspend
    fun linkedService(argument: suspend FlowletDataFlowSourceLinkedServiceArgsBuilder.() -> Unit) {
        val toBeMapped = FlowletDataFlowSourceLinkedServiceArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.linkedService = mapped
    }

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

    /**
     * @param value A `rejected_linked_service` block as defined below.
     */
    @JvmName("cetupnbomppibhwr")
    public suspend
    fun rejectedLinkedService(`value`: FlowletDataFlowSourceRejectedLinkedServiceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rejectedLinkedService = mapped
    }

    /**
     * @param argument A `rejected_linked_service` block as defined below.
     */
    @JvmName("vrxxwwivdyqbgonm")
    public suspend
    fun rejectedLinkedService(argument: suspend FlowletDataFlowSourceRejectedLinkedServiceArgsBuilder.() -> Unit) {
        val toBeMapped = FlowletDataFlowSourceRejectedLinkedServiceArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.rejectedLinkedService = mapped
    }

    /**
     * @param value A `schema_linked_service` block as defined below.
     */
    @JvmName("tqiynijjtnrmnwih")
    public suspend fun schemaLinkedService(`value`: FlowletDataFlowSourceSchemaLinkedServiceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaLinkedService = mapped
    }

    /**
     * @param argument A `schema_linked_service` block as defined below.
     */
    @JvmName("xwyrfvamrrofvyoi")
    public suspend
    fun schemaLinkedService(argument: suspend FlowletDataFlowSourceSchemaLinkedServiceArgsBuilder.() -> Unit) {
        val toBeMapped = FlowletDataFlowSourceSchemaLinkedServiceArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.schemaLinkedService = mapped
    }

    internal fun build(): FlowletDataFlowSourceArgs = FlowletDataFlowSourceArgs(
        dataset = dataset,
        description = description,
        flowlet = flowlet,
        linkedService = linkedService,
        name = name ?: throw PulumiNullFieldException("name"),
        rejectedLinkedService = rejectedLinkedService,
        schemaLinkedService = schemaLinkedService,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy