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

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

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.DataMapperMappingArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Source and target table mapping details.
 * @property attributeMappingInfo This holds the user provided attribute mapping information.
 * @property sourceConnectionReference The connection reference for the source connection.
 * @property sourceDenormalizeInfo This holds the source denormalization information used while joining multiple sources.
 * @property sourceEntityName Name of the source table
 * @property targetEntityName Name of the target table
 */
public data class DataMapperMappingArgs(
    public val attributeMappingInfo: Output? = null,
    public val sourceConnectionReference: Output? = null,
    public val sourceDenormalizeInfo: Output? = null,
    public val sourceEntityName: Output? = null,
    public val targetEntityName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.DataMapperMappingArgs =
        com.pulumi.azurenative.datafactory.inputs.DataMapperMappingArgs.builder()
            .attributeMappingInfo(
                attributeMappingInfo?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sourceConnectionReference(
                sourceConnectionReference?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sourceDenormalizeInfo(sourceDenormalizeInfo?.applyValue({ args0 -> args0 }))
            .sourceEntityName(sourceEntityName?.applyValue({ args0 -> args0 }))
            .targetEntityName(targetEntityName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataMapperMappingArgs].
 */
@PulumiTagMarker
public class DataMapperMappingArgsBuilder internal constructor() {
    private var attributeMappingInfo: Output? = null

    private var sourceConnectionReference: Output? = null

    private var sourceDenormalizeInfo: Output? = null

    private var sourceEntityName: Output? = null

    private var targetEntityName: Output? = null

    /**
     * @param value This holds the user provided attribute mapping information.
     */
    @JvmName("opetrgaegtwvlayk")
    public suspend fun attributeMappingInfo(`value`: Output) {
        this.attributeMappingInfo = value
    }

    /**
     * @param value The connection reference for the source connection.
     */
    @JvmName("oroakbnjtslibgxk")
    public suspend fun sourceConnectionReference(`value`: Output) {
        this.sourceConnectionReference = value
    }

    /**
     * @param value This holds the source denormalization information used while joining multiple sources.
     */
    @JvmName("stqidkaxronxrpqt")
    public suspend fun sourceDenormalizeInfo(`value`: Output) {
        this.sourceDenormalizeInfo = value
    }

    /**
     * @param value Name of the source table
     */
    @JvmName("tyxbovdvlancivwk")
    public suspend fun sourceEntityName(`value`: Output) {
        this.sourceEntityName = value
    }

    /**
     * @param value Name of the target table
     */
    @JvmName("cwnnfxscxnprtjcv")
    public suspend fun targetEntityName(`value`: Output) {
        this.targetEntityName = value
    }

    /**
     * @param value This holds the user provided attribute mapping information.
     */
    @JvmName("fywucmraejldhqdn")
    public suspend fun attributeMappingInfo(`value`: MapperAttributeMappingsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributeMappingInfo = mapped
    }

    /**
     * @param argument This holds the user provided attribute mapping information.
     */
    @JvmName("eunjbxcydxjxkudg")
    public suspend fun attributeMappingInfo(argument: suspend MapperAttributeMappingsArgsBuilder.() -> Unit) {
        val toBeMapped = MapperAttributeMappingsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.attributeMappingInfo = mapped
    }

    /**
     * @param value The connection reference for the source connection.
     */
    @JvmName("kwnbswcauklwcnef")
    public suspend fun sourceConnectionReference(`value`: MapperConnectionReferenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceConnectionReference = mapped
    }

    /**
     * @param argument The connection reference for the source connection.
     */
    @JvmName("ghixaiwipfofdyva")
    public suspend fun sourceConnectionReference(argument: suspend MapperConnectionReferenceArgsBuilder.() -> Unit) {
        val toBeMapped = MapperConnectionReferenceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sourceConnectionReference = mapped
    }

    /**
     * @param value This holds the source denormalization information used while joining multiple sources.
     */
    @JvmName("plnifmevptrwdnjr")
    public suspend fun sourceDenormalizeInfo(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceDenormalizeInfo = mapped
    }

    /**
     * @param value Name of the source table
     */
    @JvmName("nssgjefxjqlfblys")
    public suspend fun sourceEntityName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceEntityName = mapped
    }

    /**
     * @param value Name of the target table
     */
    @JvmName("bnhquamsidbewrup")
    public suspend fun targetEntityName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetEntityName = mapped
    }

    internal fun build(): DataMapperMappingArgs = DataMapperMappingArgs(
        attributeMappingInfo = attributeMappingInfo,
        sourceConnectionReference = sourceConnectionReference,
        sourceDenormalizeInfo = sourceDenormalizeInfo,
        sourceEntityName = sourceEntityName,
        targetEntityName = targetEntityName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy