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

com.pulumi.awsnative.aps.kotlin.RuleGroupsNamespaceArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.aps.kotlin

import com.pulumi.awsnative.aps.RuleGroupsNamespaceArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * RuleGroupsNamespace schema for cloudformation.
 * @property data The RuleGroupsNamespace data.
 * @property name The RuleGroupsNamespace name.
 * @property tags An array of key-value pairs to apply to this resource.
 * @property workspace Required to identify a specific APS Workspace associated with this RuleGroupsNamespace.
 */
public data class RuleGroupsNamespaceArgs(
    public val `data`: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
    public val workspace: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.aps.RuleGroupsNamespaceArgs =
        com.pulumi.awsnative.aps.RuleGroupsNamespaceArgs.builder()
            .`data`(`data`?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .workspace(workspace?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RuleGroupsNamespaceArgs].
 */
@PulumiTagMarker
public class RuleGroupsNamespaceArgsBuilder internal constructor() {
    private var `data`: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

    private var workspace: Output? = null

    /**
     * @param value The RuleGroupsNamespace data.
     */
    @JvmName("eyppbilmcoyvocwn")
    public suspend fun `data`(`value`: Output) {
        this.`data` = value
    }

    /**
     * @param value The RuleGroupsNamespace name.
     */
    @JvmName("pewkwydisqhshvox")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("hmklkymksjdegagi")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

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

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("mebriadsecfjmchk")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value Required to identify a specific APS Workspace associated with this RuleGroupsNamespace.
     */
    @JvmName("wlnpbfqmfxlfcbov")
    public suspend fun workspace(`value`: Output) {
        this.workspace = value
    }

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

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

    /**
     * @param value An array of key-value pairs to apply to this resource.
     */
    @JvmName("xhladuoyycridrsh")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("juqiccslqkuitwlc")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("jjdgvxggoieluaeb")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument An array of key-value pairs to apply to this resource.
     */
    @JvmName("rrbodrrluthqgnbo")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values An array of key-value pairs to apply to this resource.
     */
    @JvmName("nwdmqdnvqllsfcvq")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param value Required to identify a specific APS Workspace associated with this RuleGroupsNamespace.
     */
    @JvmName("hjnjffpwhueepbbb")
    public suspend fun workspace(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.workspace = mapped
    }

    internal fun build(): RuleGroupsNamespaceArgs = RuleGroupsNamespaceArgs(
        `data` = `data`,
        name = name,
        tags = tags,
        workspace = workspace,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy