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

com.pulumi.aws.quicksight.kotlin.inputs.GetAnalysisPlainArgs.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.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.GetAnalysisPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 getAnalysis.
 * @property analysisId Identifier for the analysis.
 * The following arguments are optional:
 * @property awsAccountId AWS account ID.
 * @property tags
 */
public data class GetAnalysisPlainArgs(
    public val analysisId: String,
    public val awsAccountId: String? = null,
    public val tags: Map? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.GetAnalysisPlainArgs =
        com.pulumi.aws.quicksight.inputs.GetAnalysisPlainArgs.builder()
            .analysisId(analysisId.let({ args0 -> args0 }))
            .awsAccountId(awsAccountId?.let({ args0 -> args0 }))
            .tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() })).build()
}

/**
 * Builder for [GetAnalysisPlainArgs].
 */
@PulumiTagMarker
public class GetAnalysisPlainArgsBuilder internal constructor() {
    private var analysisId: String? = null

    private var awsAccountId: String? = null

    private var tags: Map? = null

    /**
     * @param value Identifier for the analysis.
     * The following arguments are optional:
     */
    @JvmName("vmemldpkrppkgbcd")
    public suspend fun analysisId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.analysisId = mapped
    }

    /**
     * @param value AWS account ID.
     */
    @JvmName("bkrccjhqfglmyodc")
    public suspend fun awsAccountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.awsAccountId = mapped
    }

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

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

    internal fun build(): GetAnalysisPlainArgs = GetAnalysisPlainArgs(
        analysisId = analysisId ?: throw PulumiNullFieldException("analysisId"),
        awsAccountId = awsAccountId,
        tags = tags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy