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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardHeaderFooterSectionConfigurationArgs.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.jvm.JvmName

/**
 *
 * @property layout The layout configuration of the header or footer section.
 * @property sectionId The unique identifier of the header or footer section.
 * @property style The style options of a header or footer section.
 */
public data class DashboardHeaderFooterSectionConfigurationArgs(
    public val layout: Output,
    public val sectionId: Output,
    public val style: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardHeaderFooterSectionConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardHeaderFooterSectionConfigurationArgs.builder()
            .layout(layout.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sectionId(sectionId.applyValue({ args0 -> args0 }))
            .style(style?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardHeaderFooterSectionConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardHeaderFooterSectionConfigurationArgsBuilder internal constructor() {
    private var layout: Output? = null

    private var sectionId: Output? = null

    private var style: Output? = null

    /**
     * @param value The layout configuration of the header or footer section.
     */
    @JvmName("lvbaribhhvrdtnxs")
    public suspend fun layout(`value`: Output) {
        this.layout = value
    }

    /**
     * @param value The unique identifier of the header or footer section.
     */
    @JvmName("aykfxggvogkcfisl")
    public suspend fun sectionId(`value`: Output) {
        this.sectionId = value
    }

    /**
     * @param value The style options of a header or footer section.
     */
    @JvmName("hscxvtwvumarqcch")
    public suspend fun style(`value`: Output) {
        this.style = value
    }

    /**
     * @param value The layout configuration of the header or footer section.
     */
    @JvmName("jctoidnttbwctuwu")
    public suspend fun layout(`value`: DashboardSectionLayoutConfigurationArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.layout = mapped
    }

    /**
     * @param argument The layout configuration of the header or footer section.
     */
    @JvmName("riasqtumiekdasdw")
    public suspend fun layout(argument: suspend DashboardSectionLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSectionLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.layout = mapped
    }

    /**
     * @param value The unique identifier of the header or footer section.
     */
    @JvmName("rdxtkywtjlwsxpml")
    public suspend fun sectionId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sectionId = mapped
    }

    /**
     * @param value The style options of a header or footer section.
     */
    @JvmName("axkxltutsucjojdi")
    public suspend fun style(`value`: DashboardSectionStyleArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.style = mapped
    }

    /**
     * @param argument The style options of a header or footer section.
     */
    @JvmName("sgesvtssuaybuwgh")
    public suspend fun style(argument: suspend DashboardSectionStyleArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardSectionStyleArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.style = mapped
    }

    internal fun build(): DashboardHeaderFooterSectionConfigurationArgs =
        DashboardHeaderFooterSectionConfigurationArgs(
            layout = layout ?: throw PulumiNullFieldException("layout"),
            sectionId = sectionId ?: throw PulumiNullFieldException("sectionId"),
            style = style,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy