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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultInteractiveLayoutConfigurationArgs.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

/**
 *
 * @property freeForm The options that determine the default settings of a free-form layout configuration.
 * @property grid The options that determine the default settings for a grid layout configuration.
 */
public data class AnalysisDefaultInteractiveLayoutConfigurationArgs(
    public val freeForm: Output? = null,
    public val grid: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultInteractiveLayoutConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultInteractiveLayoutConfigurationArgs.builder()
            .freeForm(freeForm?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .grid(grid?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisDefaultInteractiveLayoutConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisDefaultInteractiveLayoutConfigurationArgsBuilder internal constructor() {
    private var freeForm: Output? = null

    private var grid: Output? = null

    /**
     * @param value The options that determine the default settings of a free-form layout configuration.
     */
    @JvmName("nxdfyhlfkldnsrxp")
    public suspend fun freeForm(`value`: Output) {
        this.freeForm = value
    }

    /**
     * @param value The options that determine the default settings for a grid layout configuration.
     */
    @JvmName("tulxaitueeudhoek")
    public suspend fun grid(`value`: Output) {
        this.grid = value
    }

    /**
     * @param value The options that determine the default settings of a free-form layout configuration.
     */
    @JvmName("vyjhwgtuxaqjupqk")
    public suspend fun freeForm(`value`: AnalysisDefaultFreeFormLayoutConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.freeForm = mapped
    }

    /**
     * @param argument The options that determine the default settings of a free-form layout configuration.
     */
    @JvmName("kcshfwkuyklgflun")
    public suspend fun freeForm(argument: suspend AnalysisDefaultFreeFormLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDefaultFreeFormLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.freeForm = mapped
    }

    /**
     * @param value The options that determine the default settings for a grid layout configuration.
     */
    @JvmName("xachnkxqpsmmolfq")
    public suspend fun grid(`value`: AnalysisDefaultGridLayoutConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.grid = mapped
    }

    /**
     * @param argument The options that determine the default settings for a grid layout configuration.
     */
    @JvmName("ourvvctsvrdunjbd")
    public suspend fun grid(argument: suspend AnalysisDefaultGridLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDefaultGridLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.grid = mapped
    }

    internal fun build(): AnalysisDefaultInteractiveLayoutConfigurationArgs =
        AnalysisDefaultInteractiveLayoutConfigurationArgs(
            freeForm = freeForm,
            grid = grid,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy