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

com.pulumi.aws.quicksight.kotlin.inputs.GetDataSetPlainArgs.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.GetDataSetPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getDataSet.
 * @property awsAccountId AWS account ID.
 * @property dataSetId Identifier for the data set.
 * The following arguments are optional:
 * @property tags
 * @property tagsAll
 */
public data class GetDataSetPlainArgs(
    public val awsAccountId: String? = null,
    public val dataSetId: String,
    public val tags: Map? = null,
    @Deprecated(
        message = """
  this attribute has been deprecated
  """,
    )
    public val tagsAll: Map? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.GetDataSetPlainArgs =
        com.pulumi.aws.quicksight.inputs.GetDataSetPlainArgs.builder()
            .awsAccountId(awsAccountId?.let({ args0 -> args0 }))
            .dataSetId(dataSetId.let({ args0 -> args0 }))
            .tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
            .tagsAll(tagsAll?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() })).build()
}

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

    private var dataSetId: String? = null

    private var tags: Map? = null

    private var tagsAll: Map? = null

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

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

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

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

    /**
     * @param value
     */
    @Deprecated(
        message = """
  this attribute has been deprecated
  """,
    )
    @JvmName("swlmpvbrakmwcgfa")
    public suspend fun tagsAll(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.tagsAll = mapped
    }

    /**
     * @param values
     */
    @Deprecated(
        message = """
  this attribute has been deprecated
  """,
    )
    @JvmName("ggujyehofhvxstuv")
    public fun tagsAll(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.tagsAll = mapped
    }

    internal fun build(): GetDataSetPlainArgs = GetDataSetPlainArgs(
        awsAccountId = awsAccountId,
        dataSetId = dataSetId ?: throw PulumiNullFieldException("dataSetId"),
        tags = tags,
        tagsAll = tagsAll,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy