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

com.pulumi.azurenative.customerinsights.kotlin.inputs.StrongIdArgs.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.customerinsights.kotlin.inputs

import com.pulumi.azurenative.customerinsights.inputs.StrongIdArgs.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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Property/Properties which represent a unique ID.
 * @property description Localized descriptions.
 * @property displayName Localized display name.
 * @property keyPropertyNames The properties which make up the unique ID.
 * @property strongIdName The Name identifying the strong ID.
 */
public data class StrongIdArgs(
    public val description: Output>? = null,
    public val displayName: Output>? = null,
    public val keyPropertyNames: Output>,
    public val strongIdName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.customerinsights.inputs.StrongIdArgs =
        com.pulumi.azurenative.customerinsights.inputs.StrongIdArgs.builder()
            .description(
                description?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .displayName(
                displayName?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .keyPropertyNames(keyPropertyNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .strongIdName(strongIdName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StrongIdArgs].
 */
@PulumiTagMarker
public class StrongIdArgsBuilder internal constructor() {
    private var description: Output>? = null

    private var displayName: Output>? = null

    private var keyPropertyNames: Output>? = null

    private var strongIdName: Output? = null

    /**
     * @param value Localized descriptions.
     */
    @JvmName("gaktcjxbrfyfiadc")
    public suspend fun description(`value`: Output>) {
        this.description = value
    }

    /**
     * @param value Localized display name.
     */
    @JvmName("usjulownbwxqvyhy")
    public suspend fun displayName(`value`: Output>) {
        this.displayName = value
    }

    /**
     * @param value The properties which make up the unique ID.
     */
    @JvmName("uybmgpjyfcbfsulr")
    public suspend fun keyPropertyNames(`value`: Output>) {
        this.keyPropertyNames = value
    }

    @JvmName("ivyidyneyespqqko")
    public suspend fun keyPropertyNames(vararg values: Output) {
        this.keyPropertyNames = Output.all(values.asList())
    }

    /**
     * @param values The properties which make up the unique ID.
     */
    @JvmName("ddistkvkrlooiefb")
    public suspend fun keyPropertyNames(values: List>) {
        this.keyPropertyNames = Output.all(values)
    }

    /**
     * @param value The Name identifying the strong ID.
     */
    @JvmName("nwccxoqcuognwtjp")
    public suspend fun strongIdName(`value`: Output) {
        this.strongIdName = value
    }

    /**
     * @param value Localized descriptions.
     */
    @JvmName("goovexyxycxvphym")
    public suspend fun description(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param values Localized descriptions.
     */
    @JvmName("afuaclxiqmttcnil")
    public fun description(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Localized display name.
     */
    @JvmName("ilfpvqgfajvspvfb")
    public suspend fun displayName(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param values Localized display name.
     */
    @JvmName("yrspscrtvviqqtae")
    public fun displayName(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

    /**
     * @param value The properties which make up the unique ID.
     */
    @JvmName("axfiqlkstothjall")
    public suspend fun keyPropertyNames(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyPropertyNames = mapped
    }

    /**
     * @param values The properties which make up the unique ID.
     */
    @JvmName("djodqyhrotnqwlqp")
    public suspend fun keyPropertyNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keyPropertyNames = mapped
    }

    /**
     * @param value The Name identifying the strong ID.
     */
    @JvmName("gqqqgakmainhxepe")
    public suspend fun strongIdName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.strongIdName = mapped
    }

    internal fun build(): StrongIdArgs = StrongIdArgs(
        description = description,
        displayName = displayName,
        keyPropertyNames = keyPropertyNames ?: throw PulumiNullFieldException("keyPropertyNames"),
        strongIdName = strongIdName ?: throw PulumiNullFieldException("strongIdName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy