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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisUnaggregatedFieldArgs.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.AnalysisUnaggregatedFieldArgs.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 column The column that is used in the `UnaggregatedField` .
 * @property fieldId The custom field ID.
 * @property formatConfiguration The format configuration of the field.
 */
public data class AnalysisUnaggregatedFieldArgs(
    public val column: Output,
    public val fieldId: Output,
    public val formatConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisUnaggregatedFieldArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisUnaggregatedFieldArgs.builder()
            .column(column.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldId(fieldId.applyValue({ args0 -> args0 }))
            .formatConfiguration(
                formatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AnalysisUnaggregatedFieldArgs].
 */
@PulumiTagMarker
public class AnalysisUnaggregatedFieldArgsBuilder internal constructor() {
    private var column: Output? = null

    private var fieldId: Output? = null

    private var formatConfiguration: Output? = null

    /**
     * @param value The column that is used in the `UnaggregatedField` .
     */
    @JvmName("niberhyltlnqeidv")
    public suspend fun column(`value`: Output) {
        this.column = value
    }

    /**
     * @param value The custom field ID.
     */
    @JvmName("vlpobvopbfepbskj")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The format configuration of the field.
     */
    @JvmName("tktqpvyrputjcico")
    public suspend fun formatConfiguration(`value`: Output) {
        this.formatConfiguration = value
    }

    /**
     * @param value The column that is used in the `UnaggregatedField` .
     */
    @JvmName("yorggfiklgsvsywy")
    public suspend fun column(`value`: AnalysisColumnIdentifierArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.column = mapped
    }

    /**
     * @param argument The column that is used in the `UnaggregatedField` .
     */
    @JvmName("iwqpngouwjicxbek")
    public suspend fun column(argument: suspend AnalysisColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.column = mapped
    }

    /**
     * @param value The custom field ID.
     */
    @JvmName("utxmtlfcdhsfokly")
    public suspend fun fieldId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldId = mapped
    }

    /**
     * @param value The format configuration of the field.
     */
    @JvmName("smicnygutpkhxwmo")
    public suspend fun formatConfiguration(`value`: AnalysisFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.formatConfiguration = mapped
    }

    /**
     * @param argument The format configuration of the field.
     */
    @JvmName("fenekrngiilkgtka")
    public suspend fun formatConfiguration(argument: suspend AnalysisFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFormatConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.formatConfiguration = mapped
    }

    internal fun build(): AnalysisUnaggregatedFieldArgs = AnalysisUnaggregatedFieldArgs(
        column = column ?: throw PulumiNullFieldException("column"),
        fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
        formatConfiguration = formatConfiguration,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy