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

com.pulumi.azure.datafactory.kotlin.inputs.FlowletDataFlowSinkArgs.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.FlowletDataFlowSinkArgs.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 FlowletDataFlowSinkArgs(
    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.FlowletDataFlowSinkArgs =
        com.pulumi.azure.datafactory.inputs.FlowletDataFlowSinkArgs.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 [FlowletDataFlowSinkArgs].
 */
@PulumiTagMarker
public class FlowletDataFlowSinkArgsBuilder 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("fwjanxhuvoqoivpy")
    public suspend fun dataset(`value`: Output) {
        this.dataset = value
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The description for the Data Flow Source.
     */
    @JvmName("lwihwdllpxxoptsj")
    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("iiflijqkpatvlqai")
    public suspend fun flowlet(`value`: FlowletDataFlowSinkFlowletArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.flowlet = mapped
    }

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

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

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

    /**
     * @param value The name for the Data Flow Source.
     */
    @JvmName("vvklqiigtlttghks")
    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("djncviarorjdhaxi")
    public suspend fun rejectedLinkedService(`value`: FlowletDataFlowSinkRejectedLinkedServiceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rejectedLinkedService = mapped
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy