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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateHeaderFooterSectionConfigurationArgs.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 TemplateHeaderFooterSectionConfigurationArgs(
    public val layout: Output,
    public val sectionId: Output,
    public val style: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateHeaderFooterSectionConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateHeaderFooterSectionConfigurationArgs.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 [TemplateHeaderFooterSectionConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateHeaderFooterSectionConfigurationArgsBuilder 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("awlchllvxoboijoe")
    public suspend fun layout(`value`: Output) {
        this.layout = value
    }

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

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

    /**
     * @param value The layout configuration of the header or footer section.
     */
    @JvmName("pkfvprpvujjsrstu")
    public suspend fun layout(`value`: TemplateSectionLayoutConfigurationArgs) {
        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("cigtuieircipwoye")
    public suspend fun layout(argument: suspend TemplateSectionLayoutConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateSectionLayoutConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.layout = mapped
    }

    /**
     * @param value The unique identifier of the header or footer section.
     */
    @JvmName("jldttvjmkpsuqrsl")
    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("hvdxsrbwkqupfnqr")
    public suspend fun style(`value`: TemplateSectionStyleArgs?) {
        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("eqrdeyovnqjvifit")
    public suspend fun style(argument: suspend TemplateSectionStyleArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateSectionStyleArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.style = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy