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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefaultGridLayoutConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultGridLayoutConfigurationArgs.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 canvasSizeOptions Determines the screen canvas size options for a grid layout.
 */
public data class AnalysisDefaultGridLayoutConfigurationArgs(
    public val canvasSizeOptions: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultGridLayoutConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultGridLayoutConfigurationArgs.builder()
            .canvasSizeOptions(
                canvasSizeOptions.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisDefaultGridLayoutConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisDefaultGridLayoutConfigurationArgsBuilder internal constructor() {
    private var canvasSizeOptions: Output? = null

    /**
     * @param value Determines the screen canvas size options for a grid layout.
     */
    @JvmName("ddurykndtnitqxor")
    public suspend fun canvasSizeOptions(`value`: Output) {
        this.canvasSizeOptions = value
    }

    /**
     * @param value Determines the screen canvas size options for a grid layout.
     */
    @JvmName("wkbpycuucfxtdoqc")
    public suspend fun canvasSizeOptions(`value`: AnalysisGridLayoutCanvasSizeOptionsArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.canvasSizeOptions = mapped
    }

    /**
     * @param argument Determines the screen canvas size options for a grid layout.
     */
    @JvmName("epppnottpsrvddgq")
    public suspend fun canvasSizeOptions(argument: suspend AnalysisGridLayoutCanvasSizeOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisGridLayoutCanvasSizeOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.canvasSizeOptions = mapped
    }

    internal fun build(): AnalysisDefaultGridLayoutConfigurationArgs =
        AnalysisDefaultGridLayoutConfigurationArgs(
            canvasSizeOptions = canvasSizeOptions ?: throw PulumiNullFieldException("canvasSizeOptions"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy