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

com.pulumi.awsnative.quicksight.kotlin.inputs.GetTopicPlainArgs.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.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.GetTopicPlainArgs.builder
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 awsAccountId The ID of the AWS account that you want to create a topic in.
 * @property topicId The ID for the topic. This ID is unique per AWS Region for each AWS account.
 */
public data class GetTopicPlainArgs(
    public val awsAccountId: String,
    public val topicId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.GetTopicPlainArgs =
        com.pulumi.awsnative.quicksight.inputs.GetTopicPlainArgs.builder()
            .awsAccountId(awsAccountId.let({ args0 -> args0 }))
            .topicId(topicId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTopicPlainArgs].
 */
@PulumiTagMarker
public class GetTopicPlainArgsBuilder internal constructor() {
    private var awsAccountId: String? = null

    private var topicId: String? = null

    /**
     * @param value The ID of the AWS account that you want to create a topic in.
     */
    @JvmName("tintsuwmrttcsjpp")
    public suspend fun awsAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.awsAccountId = mapped
    }

    /**
     * @param value The ID for the topic. This ID is unique per AWS Region for each AWS account.
     */
    @JvmName("qxjjprkonavlfrlo")
    public suspend fun topicId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.topicId = mapped
    }

    internal fun build(): GetTopicPlainArgs = GetTopicPlainArgs(
        awsAccountId = awsAccountId ?: throw PulumiNullFieldException("awsAccountId"),
        topicId = topicId ?: throw PulumiNullFieldException("topicId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy