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

com.pulumi.azure.sentinel.kotlin.inputs.AlertRuleScheduledEntityMappingFieldMappingArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.sentinel.kotlin.inputs

import com.pulumi.azure.sentinel.inputs.AlertRuleScheduledEntityMappingFieldMappingArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property columnName The column name to be mapped to the identifier.
 * @property identifier The identifier of the entity.
 */
public data class AlertRuleScheduledEntityMappingFieldMappingArgs(
    public val columnName: Output,
    public val identifier: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.sentinel.inputs.AlertRuleScheduledEntityMappingFieldMappingArgs =
        com.pulumi.azure.sentinel.inputs.AlertRuleScheduledEntityMappingFieldMappingArgs.builder()
            .columnName(columnName.applyValue({ args0 -> args0 }))
            .identifier(identifier.applyValue({ args0 -> args0 })).build()
}

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

    private var identifier: Output? = null

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

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

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

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

    internal fun build(): AlertRuleScheduledEntityMappingFieldMappingArgs =
        AlertRuleScheduledEntityMappingFieldMappingArgs(
            columnName = columnName ?: throw PulumiNullFieldException("columnName"),
            identifier = identifier ?: throw PulumiNullFieldException("identifier"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy