
com.pulumi.azurenative.datafactory.kotlin.inputs.MapperAttributeReferenceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.MapperAttributeReferenceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Attribute reference details for the referred column.
* @property entity Name of the table.
* @property entityConnectionReference The connection reference for the connection.
* @property name Name of the column.
*/
public data class MapperAttributeReferenceArgs(
public val entity: Output? = null,
public val entityConnectionReference: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.MapperAttributeReferenceArgs =
com.pulumi.azurenative.datafactory.inputs.MapperAttributeReferenceArgs.builder()
.entity(entity?.applyValue({ args0 -> args0 }))
.entityConnectionReference(
entityConnectionReference?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MapperAttributeReferenceArgs].
*/
@PulumiTagMarker
public class MapperAttributeReferenceArgsBuilder internal constructor() {
private var entity: Output? = null
private var entityConnectionReference: Output? = null
private var name: Output? = null
/**
* @param value Name of the table.
*/
@JvmName("yqbrnkkqaadnascw")
public suspend fun entity(`value`: Output) {
this.entity = value
}
/**
* @param value The connection reference for the connection.
*/
@JvmName("npoalvqsqtoliroe")
public suspend fun entityConnectionReference(`value`: Output) {
this.entityConnectionReference = value
}
/**
* @param value Name of the column.
*/
@JvmName("qlnokccdnqfbjdxo")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Name of the table.
*/
@JvmName("jyjobcujucbobblk")
public suspend fun entity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.entity = mapped
}
/**
* @param value The connection reference for the connection.
*/
@JvmName("sfsvhbimvamkindg")
public suspend fun entityConnectionReference(`value`: MapperConnectionReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.entityConnectionReference = mapped
}
/**
* @param argument The connection reference for the connection.
*/
@JvmName("gcwmlfbiukdqanil")
public suspend fun entityConnectionReference(argument: suspend MapperConnectionReferenceArgsBuilder.() -> Unit) {
val toBeMapped = MapperConnectionReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.entityConnectionReference = mapped
}
/**
* @param value Name of the column.
*/
@JvmName("qmphngumrgxilgaj")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): MapperAttributeReferenceArgs = MapperAttributeReferenceArgs(
entity = entity,
entityConnectionReference = entityConnectionReference,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy