com.pulumi.azure.datafactory.kotlin.inputs.DataFlowSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin.inputs
import com.pulumi.azure.datafactory.inputs.DataFlowSourceArgs.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 DataFlowSourceArgs(
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.DataFlowSourceArgs =
com.pulumi.azure.datafactory.inputs.DataFlowSourceArgs.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 [DataFlowSourceArgs].
*/
@PulumiTagMarker
public class DataFlowSourceArgsBuilder 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("eibauryivphfiqln")
public suspend fun dataset(`value`: Output) {
this.dataset = value
}
/**
* @param value The description for the Data Flow Source.
*/
@JvmName("iuqabiukqkiinnja")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value A `flowlet` block as defined below.
*/
@JvmName("payjqkvfnlxsjiyk")
public suspend fun flowlet(`value`: Output) {
this.flowlet = value
}
/**
* @param value A `linked_service` block as defined below.
*/
@JvmName("uklcwiubugoeswyw")
public suspend fun linkedService(`value`: Output) {
this.linkedService = value
}
/**
* @param value The name for the Data Flow Source.
*/
@JvmName("vgpwidiyabxautul")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A `rejected_linked_service` block as defined below.
*/
@JvmName("asfcxjdrwgmvrxyk")
public suspend
fun rejectedLinkedService(`value`: Output) {
this.rejectedLinkedService = value
}
/**
* @param value A `schema_linked_service` block as defined below.
*/
@JvmName("qgwnawbdontrdeca")
public suspend fun schemaLinkedService(`value`: Output) {
this.schemaLinkedService = value
}
/**
* @param value A `dataset` block as defined below.
*/
@JvmName("fmbjqnxqcutbuvio")
public suspend fun dataset(`value`: DataFlowSourceDatasetArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataset = mapped
}
/**
* @param argument A `dataset` block as defined below.
*/
@JvmName("mqawonanhqomhxhr")
public suspend fun dataset(argument: suspend DataFlowSourceDatasetArgsBuilder.() -> Unit) {
val toBeMapped = DataFlowSourceDatasetArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.dataset = mapped
}
/**
* @param value The description for the Data Flow Source.
*/
@JvmName("oxslhotmkakjmyqh")
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("wqeeasgawclvvbfq")
public suspend fun flowlet(`value`: DataFlowSourceFlowletArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.flowlet = mapped
}
/**
* @param argument A `flowlet` block as defined below.
*/
@JvmName("lxuovyafattdtoec")
public suspend fun flowlet(argument: suspend DataFlowSourceFlowletArgsBuilder.() -> Unit) {
val toBeMapped = DataFlowSourceFlowletArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.flowlet = mapped
}
/**
* @param value A `linked_service` block as defined below.
*/
@JvmName("nlvtlurdbwostijo")
public suspend fun linkedService(`value`: DataFlowSourceLinkedServiceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linkedService = mapped
}
/**
* @param argument A `linked_service` block as defined below.
*/
@JvmName("upsaobkvpnjivlhi")
public suspend
fun linkedService(argument: suspend DataFlowSourceLinkedServiceArgsBuilder.() -> Unit) {
val toBeMapped = DataFlowSourceLinkedServiceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.linkedService = mapped
}
/**
* @param value The name for the Data Flow Source.
*/
@JvmName("ladgwovoyascffer")
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("tjjtvjplyttycklc")
public suspend fun rejectedLinkedService(`value`: DataFlowSourceRejectedLinkedServiceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.rejectedLinkedService = mapped
}
/**
* @param argument A `rejected_linked_service` block as defined below.
*/
@JvmName("ymmvmaveurtarvnk")
public suspend
fun rejectedLinkedService(argument: suspend DataFlowSourceRejectedLinkedServiceArgsBuilder.() -> Unit) {
val toBeMapped = DataFlowSourceRejectedLinkedServiceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.rejectedLinkedService = mapped
}
/**
* @param value A `schema_linked_service` block as defined below.
*/
@JvmName("kdqqaihxajpfjhpp")
public suspend fun schemaLinkedService(`value`: DataFlowSourceSchemaLinkedServiceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schemaLinkedService = mapped
}
/**
* @param argument A `schema_linked_service` block as defined below.
*/
@JvmName("wdccppenvgunqlrp")
public suspend
fun schemaLinkedService(argument: suspend DataFlowSourceSchemaLinkedServiceArgsBuilder.() -> Unit) {
val toBeMapped = DataFlowSourceSchemaLinkedServiceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.schemaLinkedService = mapped
}
internal fun build(): DataFlowSourceArgs = DataFlowSourceArgs(
dataset = dataset,
description = description,
flowlet = flowlet,
linkedService = linkedService,
name = name ?: throw PulumiNullFieldException("name"),
rejectedLinkedService = rejectedLinkedService,
schemaLinkedService = schemaLinkedService,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy