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

com.pulumi.aws.mq.kotlin.inputs.GetBrokerPlainArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.mq.kotlin.inputs

import com.pulumi.aws.mq.inputs.GetBrokerPlainArgs.builder
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

/**
 * A collection of arguments for invoking getBroker.
 * @property brokerId Unique id of the mq broker.
 * @property brokerName Unique name of the mq broker.
 * @property tags
 */
public data class GetBrokerPlainArgs(
    public val brokerId: String? = null,
    public val brokerName: String? = null,
    public val tags: Map? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.mq.inputs.GetBrokerPlainArgs =
        com.pulumi.aws.mq.inputs.GetBrokerPlainArgs.builder()
            .brokerId(brokerId?.let({ args0 -> args0 }))
            .brokerName(brokerName?.let({ args0 -> args0 }))
            .tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() })).build()
}

/**
 * Builder for [GetBrokerPlainArgs].
 */
@PulumiTagMarker
public class GetBrokerPlainArgsBuilder internal constructor() {
    private var brokerId: String? = null

    private var brokerName: String? = null

    private var tags: Map? = null

    /**
     * @param value Unique id of the mq broker.
     */
    @JvmName("hjbikuaavnttdwjh")
    public suspend fun brokerId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.brokerId = mapped
    }

    /**
     * @param value Unique name of the mq broker.
     */
    @JvmName("bmsupajbtplpkwrc")
    public suspend fun brokerName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.brokerName = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("jysieowkrhvdwssr")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.tags = mapped
    }

    internal fun build(): GetBrokerPlainArgs = GetBrokerPlainArgs(
        brokerId = brokerId,
        brokerName = brokerName,
        tags = tags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy