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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateSourceEntityArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * 

The source entity of the template.

* @property sourceAnalysis The source analysis, if it is based on an analysis. * @property sourceTemplate The source template, if it is based on an template. */ public data class TemplateSourceEntityArgs( public val sourceAnalysis: Output? = null, public val sourceTemplate: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateSourceEntityArgs = com.pulumi.awsnative.quicksight.inputs.TemplateSourceEntityArgs.builder() .sourceAnalysis(sourceAnalysis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .sourceTemplate( sourceTemplate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ).build() } /** * Builder for [TemplateSourceEntityArgs]. */ @PulumiTagMarker public class TemplateSourceEntityArgsBuilder internal constructor() { private var sourceAnalysis: Output? = null private var sourceTemplate: Output? = null /** * @param value The source analysis, if it is based on an analysis. */ @JvmName("egreupqauwbgsvca") public suspend fun sourceAnalysis(`value`: Output) { this.sourceAnalysis = value } /** * @param value The source template, if it is based on an template. */ @JvmName("llbmgojlvfejuumu") public suspend fun sourceTemplate(`value`: Output) { this.sourceTemplate = value } /** * @param value The source analysis, if it is based on an analysis. */ @JvmName("talsmtdjigvlnoyf") public suspend fun sourceAnalysis(`value`: TemplateSourceAnalysisArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.sourceAnalysis = mapped } /** * @param argument The source analysis, if it is based on an analysis. */ @JvmName("kvxuatugejaehscq") public suspend fun sourceAnalysis(argument: suspend TemplateSourceAnalysisArgsBuilder.() -> Unit) { val toBeMapped = TemplateSourceAnalysisArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.sourceAnalysis = mapped } /** * @param value The source template, if it is based on an template. */ @JvmName("jpmyqobnkorndnhy") public suspend fun sourceTemplate(`value`: TemplateSourceTemplateArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.sourceTemplate = mapped } /** * @param argument The source template, if it is based on an template. */ @JvmName("mhygcgglxhdmabsm") public suspend fun sourceTemplate(argument: suspend TemplateSourceTemplateArgsBuilder.() -> Unit) { val toBeMapped = TemplateSourceTemplateArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.sourceTemplate = mapped } internal fun build(): TemplateSourceEntityArgs = TemplateSourceEntityArgs( sourceAnalysis = sourceAnalysis, sourceTemplate = sourceTemplate, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy