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

com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetDecimalDatasetParameterArgs.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.DataSetDecimalDatasetParameterArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DataSetDatasetParameterValueType
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

/**
 * 

A decimal parameter for a dataset.

* @property defaultValues A list of default values for a given decimal parameter. This structure only accepts static values. * @property id

An identifier for the decimal parameter created in the dataset.

* @property name

The name of the decimal parameter that is created in the dataset.

* @property valueType The value type of the dataset parameter. Valid values are `single value` or `multi value` . */ public data class DataSetDecimalDatasetParameterArgs( public val defaultValues: Output? = null, public val id: Output, public val name: Output, public val valueType: Output, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetDecimalDatasetParameterArgs = com.pulumi.awsnative.quicksight.inputs.DataSetDecimalDatasetParameterArgs.builder() .defaultValues(defaultValues?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .id(id.applyValue({ args0 -> args0 })) .name(name.applyValue({ args0 -> args0 })) .valueType(valueType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build() } /** * Builder for [DataSetDecimalDatasetParameterArgs]. */ @PulumiTagMarker public class DataSetDecimalDatasetParameterArgsBuilder internal constructor() { private var defaultValues: Output? = null private var id: Output? = null private var name: Output? = null private var valueType: Output? = null /** * @param value A list of default values for a given decimal parameter. This structure only accepts static values. */ @JvmName("hrlxhusvchmfattv") public suspend fun defaultValues(`value`: Output) { this.defaultValues = value } /** * @param value

An identifier for the decimal parameter created in the dataset.

*/ @JvmName("yranldwfricrymjq") public suspend fun id(`value`: Output) { this.id = value } /** * @param value

The name of the decimal parameter that is created in the dataset.

*/ @JvmName("qayqkqydaehcbqyr") public suspend fun name(`value`: Output) { this.name = value } /** * @param value The value type of the dataset parameter. Valid values are `single value` or `multi value` . */ @JvmName("qeaevmfbeidspkkd") public suspend fun valueType(`value`: Output) { this.valueType = value } /** * @param value A list of default values for a given decimal parameter. This structure only accepts static values. */ @JvmName("avyegrewlnkholwc") public suspend fun defaultValues(`value`: DataSetDecimalDatasetParameterDefaultValuesArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.defaultValues = mapped } /** * @param argument A list of default values for a given decimal parameter. This structure only accepts static values. */ @JvmName("uprwcmurxjlxthrb") public suspend fun defaultValues(argument: suspend DataSetDecimalDatasetParameterDefaultValuesArgsBuilder.() -> Unit) { val toBeMapped = DataSetDecimalDatasetParameterDefaultValuesArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.defaultValues = mapped } /** * @param value

An identifier for the decimal parameter created in the dataset.

*/ @JvmName("btytfplyxtpnxbxw") public suspend fun id(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.id = mapped } /** * @param value

The name of the decimal parameter that is created in the dataset.

*/ @JvmName("qhtpmxafmultbkwg") public suspend fun name(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value The value type of the dataset parameter. Valid values are `single value` or `multi value` . */ @JvmName("hviydeteknubbvhl") public suspend fun valueType(`value`: DataSetDatasetParameterValueType) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.valueType = mapped } internal fun build(): DataSetDecimalDatasetParameterArgs = DataSetDecimalDatasetParameterArgs( defaultValues = defaultValues, id = id ?: throw PulumiNullFieldException("id"), name = name ?: throw PulumiNullFieldException("name"), valueType = valueType ?: throw PulumiNullFieldException("valueType"), ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy