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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefaultsArgs.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.AnalysisDefaultsArgs.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 defaultNewSheetConfiguration The configuration for default new sheet settings.
 */
public data class AnalysisDefaultsArgs(
    public val defaultNewSheetConfiguration: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultsArgs.builder()
            .defaultNewSheetConfiguration(
                defaultNewSheetConfiguration.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [AnalysisDefaultsArgs].
 */
@PulumiTagMarker
public class AnalysisDefaultsArgsBuilder internal constructor() {
    private var defaultNewSheetConfiguration: Output? = null

    /**
     * @param value The configuration for default new sheet settings.
     */
    @JvmName("qhaoiawhuhipmqkd")
    public suspend fun defaultNewSheetConfiguration(`value`: Output) {
        this.defaultNewSheetConfiguration = value
    }

    /**
     * @param value The configuration for default new sheet settings.
     */
    @JvmName("rsbysyfnbxhgjvug")
    public suspend fun defaultNewSheetConfiguration(`value`: AnalysisDefaultNewSheetConfigurationArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.defaultNewSheetConfiguration = mapped
    }

    /**
     * @param argument The configuration for default new sheet settings.
     */
    @JvmName("vpnnrtqotxochngy")
    public suspend fun defaultNewSheetConfiguration(argument: suspend AnalysisDefaultNewSheetConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDefaultNewSheetConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.defaultNewSheetConfiguration = mapped
    }

    internal fun build(): AnalysisDefaultsArgs = AnalysisDefaultsArgs(
        defaultNewSheetConfiguration = defaultNewSheetConfiguration ?: throw
            PulumiNullFieldException("defaultNewSheetConfiguration"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy