
com.pulumi.awsnative.quicksight.kotlin.TopicArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin
import com.pulumi.awsnative.quicksight.TopicArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicUserExperienceVersion
import com.pulumi.awsnative.quicksight.kotlin.inputs.TopicDatasetMetadataArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.TopicDatasetMetadataArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of the AWS::QuickSight::Topic Resource Type.
* @property awsAccountId The ID of the AWS account that you want to create a topic in.
* @property dataSets The data sets that the topic is associated with.
* @property description The description of the topic.
* @property name The name of the topic.
* @property topicId The ID for the topic. This ID is unique per AWS Region for each AWS account.
* @property userExperienceVersion The user experience version of the topic.
*/
public data class TopicArgs(
public val awsAccountId: Output? = null,
public val dataSets: Output>? = null,
public val description: Output? = null,
public val name: Output? = null,
public val topicId: Output? = null,
public val userExperienceVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.TopicArgs =
com.pulumi.awsnative.quicksight.TopicArgs.builder()
.awsAccountId(awsAccountId?.applyValue({ args0 -> args0 }))
.dataSets(
dataSets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.topicId(topicId?.applyValue({ args0 -> args0 }))
.userExperienceVersion(
userExperienceVersion?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TopicArgs].
*/
@PulumiTagMarker
public class TopicArgsBuilder internal constructor() {
private var awsAccountId: Output? = null
private var dataSets: Output>? = null
private var description: Output? = null
private var name: Output? = null
private var topicId: Output? = null
private var userExperienceVersion: Output? = null
/**
* @param value The ID of the AWS account that you want to create a topic in.
*/
@JvmName("rftutxlndtmrfelt")
public suspend fun awsAccountId(`value`: Output) {
this.awsAccountId = value
}
/**
* @param value The data sets that the topic is associated with.
*/
@JvmName("ccqsyvsurpxyggex")
public suspend fun dataSets(`value`: Output>) {
this.dataSets = value
}
@JvmName("bpdihnthwsvbogsh")
public suspend fun dataSets(vararg values: Output) {
this.dataSets = Output.all(values.asList())
}
/**
* @param values The data sets that the topic is associated with.
*/
@JvmName("vhyhrbiqocqpnxjn")
public suspend fun dataSets(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy