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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSourceTemplateArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisSourceTemplateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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

/**
 * 

The source template of an analysis.

* @property arn

The Amazon Resource Name (ARN) of the source template of an analysis.

* @property dataSetReferences

The dataset references of the source template of an analysis.

*/ public data class AnalysisSourceTemplateArgs( public val arn: Output, public val dataSetReferences: Output>, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSourceTemplateArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisSourceTemplateArgs.builder() .arn(arn.applyValue({ args0 -> args0 })) .dataSetReferences( dataSetReferences.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ).build() } /** * Builder for [AnalysisSourceTemplateArgs]. */ @PulumiTagMarker public class AnalysisSourceTemplateArgsBuilder internal constructor() { private var arn: Output? = null private var dataSetReferences: Output>? = null /** * @param value

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ @JvmName("ilvmfneaocbcynbn") public suspend fun arn(`value`: Output) { this.arn = value } /** * @param value

The dataset references of the source template of an analysis.

*/ @JvmName("farctpdwdswjnwow") public suspend fun dataSetReferences(`value`: Output>) { this.dataSetReferences = value } @JvmName("uxwmkvyeuexpjnpk") public suspend fun dataSetReferences(vararg values: Output) { this.dataSetReferences = Output.all(values.asList()) } /** * @param values

The dataset references of the source template of an analysis.

*/ @JvmName("rvlcnjktenxvcyqo") public suspend fun dataSetReferences(values: List>) { this.dataSetReferences = Output.all(values) } /** * @param value

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ @JvmName("xrlolswjstfsggdm") public suspend fun arn(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.arn = mapped } /** * @param value

The dataset references of the source template of an analysis.

*/ @JvmName("oqhgrrdtvrkctgxt") public suspend fun dataSetReferences(`value`: List) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.dataSetReferences = mapped } /** * @param argument

The dataset references of the source template of an analysis.

*/ @JvmName("gyafkndcfvkwglfk") public suspend fun dataSetReferences(argument: List Unit>) { val toBeMapped = argument.toList().map { AnalysisDataSetReferenceArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dataSetReferences = mapped } /** * @param argument

The dataset references of the source template of an analysis.

*/ @JvmName("bnhqkgushkucidmn") public suspend fun dataSetReferences(vararg argument: suspend AnalysisDataSetReferenceArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { AnalysisDataSetReferenceArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dataSetReferences = mapped } /** * @param argument

The dataset references of the source template of an analysis.

*/ @JvmName("fkinlvvngxxvistw") public suspend fun dataSetReferences(argument: suspend AnalysisDataSetReferenceArgsBuilder.() -> Unit) { val toBeMapped = listOf( AnalysisDataSetReferenceArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.dataSetReferences = mapped } /** * @param values

The dataset references of the source template of an analysis.

*/ @JvmName("rogoldphpmfeplqw") public suspend fun dataSetReferences(vararg values: AnalysisDataSetReferenceArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.dataSetReferences = mapped } internal fun build(): AnalysisSourceTemplateArgs = AnalysisSourceTemplateArgs( arn = arn ?: throw PulumiNullFieldException("arn"), dataSetReferences = dataSetReferences ?: throw PulumiNullFieldException("dataSetReferences"), ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy