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

com.pulumi.awsnative.quicksight.kotlin.inputs.GetThemePlainArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

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

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

    private var themeId: String? = null

    /**
     * @param value The ID of the AWS account where you want to store the new theme.
     */
    @JvmName("vfodyqohtnuecxcw")
    public suspend fun awsAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.awsAccountId = mapped
    }

    /**
     * @param value An ID for the theme that you want to create. The theme ID is unique per AWS Region in each AWS account.
     */
    @JvmName("bvfwlioglyogbkww")
    public suspend fun themeId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.themeId = mapped
    }

    internal fun build(): GetThemePlainArgs = GetThemePlainArgs(
        awsAccountId = awsAccountId ?: throw PulumiNullFieldException("awsAccountId"),
        themeId = themeId ?: throw PulumiNullFieldException("themeId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy