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

com.pulumi.awsnative.servicecatalogappregistry.kotlin.ApplicationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.servicecatalogappregistry.kotlin

import com.pulumi.awsnative.servicecatalogappregistry.ApplicationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Resource Schema for AWS::ServiceCatalogAppRegistry::Application
 * @property description The description of the application.
 * @property name The name of the application.
 * @property tags Key-value pairs you can use to associate with the application.
 */
public data class ApplicationArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.servicecatalogappregistry.ApplicationArgs =
        com.pulumi.awsnative.servicecatalogappregistry.ApplicationArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

    private var name: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The description of the application.
     */
    @JvmName("uedxumvrdlfsgjkk")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The name of the application.
     */
    @JvmName("vfkuoahqdjwwsuju")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Key-value pairs you can use to associate with the application.
     */
    @JvmName("abwbagqsyvshyimd")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

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

    /**
     * @param value Key-value pairs you can use to associate with the application.
     */
    @JvmName("emuigqvegfivtghy")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Key-value pairs you can use to associate with the application.
     */
    @JvmName("lllkexxdcjuibcyh")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): ApplicationArgs = ApplicationArgs(
        description = description,
        name = name,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy