com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetControlLayoutArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisSheetControlLayoutArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property configuration The configuration that determines the elements and canvas size options of sheet control.
*/
public data class AnalysisSheetControlLayoutArgs(
public val configuration: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSheetControlLayoutArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisSheetControlLayoutArgs.builder()
.configuration(configuration.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisSheetControlLayoutArgs].
*/
@PulumiTagMarker
public class AnalysisSheetControlLayoutArgsBuilder internal constructor() {
private var configuration: Output? = null
/**
* @param value The configuration that determines the elements and canvas size options of sheet control.
*/
@JvmName("gtcjrnhdxopljfuu")
public suspend fun configuration(`value`: Output) {
this.configuration = value
}
/**
* @param value The configuration that determines the elements and canvas size options of sheet control.
*/
@JvmName("otywwgxasejfoddu")
public suspend fun configuration(`value`: AnalysisSheetControlLayoutConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.configuration = mapped
}
/**
* @param argument The configuration that determines the elements and canvas size options of sheet control.
*/
@JvmName("rqkobajpgiuqmtyq")
public suspend fun configuration(argument: suspend AnalysisSheetControlLayoutConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisSheetControlLayoutConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.configuration = mapped
}
internal fun build(): AnalysisSheetControlLayoutArgs = AnalysisSheetControlLayoutArgs(
configuration = configuration ?: throw PulumiNullFieldException("configuration"),
)
}