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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisLabelOptionsArgs.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.AnalysisLabelOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property customLabel The text for the label.
 * @property fontConfiguration The font configuration of the label.
 * @property visibility Determines whether or not the label is visible.
 */
public data class AnalysisLabelOptionsArgs(
    public val customLabel: Output? = null,
    public val fontConfiguration: Output? = null,
    public val visibility: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisLabelOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisLabelOptionsArgs.builder()
            .customLabel(customLabel?.applyValue({ args0 -> args0 }))
            .fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisLabelOptionsArgs].
 */
@PulumiTagMarker
public class AnalysisLabelOptionsArgsBuilder internal constructor() {
    private var customLabel: Output? = null

    private var fontConfiguration: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The text for the label.
     */
    @JvmName("psocpfnpmtinfcmu")
    public suspend fun customLabel(`value`: Output) {
        this.customLabel = value
    }

    /**
     * @param value The font configuration of the label.
     */
    @JvmName("dmviybjghflboivg")
    public suspend fun fontConfiguration(`value`: Output) {
        this.fontConfiguration = value
    }

    /**
     * @param value Determines whether or not the label is visible.
     */
    @JvmName("nhkolsicyrddkmwh")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value The text for the label.
     */
    @JvmName("bbnmmjuwboptbiom")
    public suspend fun customLabel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customLabel = mapped
    }

    /**
     * @param value The font configuration of the label.
     */
    @JvmName("rgfcgfqwqnionvue")
    public suspend fun fontConfiguration(`value`: AnalysisFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fontConfiguration = mapped
    }

    /**
     * @param argument The font configuration of the label.
     */
    @JvmName("tywgrmapxowwvkbb")
    public suspend fun fontConfiguration(argument: suspend AnalysisFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fontConfiguration = mapped
    }

    /**
     * @param value Determines whether or not the label is visible.
     */
    @JvmName("oekkjilyvpspxqqa")
    public suspend fun visibility(`value`: AnalysisVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): AnalysisLabelOptionsArgs = AnalysisLabelOptionsArgs(
        customLabel = customLabel,
        fontConfiguration = fontConfiguration,
        visibility = visibility,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy