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

com.pulumi.azurenative.securityinsights.kotlin.inputs.FieldMappingArgs.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.securityinsights.kotlin.inputs

import com.pulumi.azurenative.securityinsights.inputs.FieldMappingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A single field mapping of the mapped entity
 * @property columnName the column name to be mapped to the identifier
 * @property identifier the V3 identifier of the entity
 */
public data class FieldMappingArgs(
    public val columnName: Output? = null,
    public val identifier: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.FieldMappingArgs =
        com.pulumi.azurenative.securityinsights.inputs.FieldMappingArgs.builder()
            .columnName(columnName?.applyValue({ args0 -> args0 }))
            .identifier(identifier?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FieldMappingArgs].
 */
@PulumiTagMarker
public class FieldMappingArgsBuilder internal constructor() {
    private var columnName: Output? = null

    private var identifier: Output? = null

    /**
     * @param value the column name to be mapped to the identifier
     */
    @JvmName("gfosanregymrwmob")
    public suspend fun columnName(`value`: Output) {
        this.columnName = value
    }

    /**
     * @param value the V3 identifier of the entity
     */
    @JvmName("cadtilafjirhvcin")
    public suspend fun identifier(`value`: Output) {
        this.identifier = value
    }

    /**
     * @param value the column name to be mapped to the identifier
     */
    @JvmName("blgdmayhitlbvwfp")
    public suspend fun columnName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnName = mapped
    }

    /**
     * @param value the V3 identifier of the entity
     */
    @JvmName("tmlwdpfiowasxaxa")
    public suspend fun identifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identifier = mapped
    }

    internal fun build(): FieldMappingArgs = FieldMappingArgs(
        columnName = columnName,
        identifier = identifier,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy