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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateIntegerParameterDeclaration.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateParameterValueType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property defaultValues The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
 * @property mappedDataSetParameters
 * @property name The name of the parameter that is being declared.
 * @property parameterValueType The value type determines whether the parameter is a single-value or multi-value parameter.
 * @property valueWhenUnset A parameter declaration for the `Integer` data type.
 */
public data class TemplateIntegerParameterDeclaration(
    public val defaultValues: TemplateIntegerDefaultValues? = null,
    public val mappedDataSetParameters: List? = null,
    public val name: String,
    public val parameterValueType: TemplateParameterValueType,
    public val valueWhenUnset: TemplateIntegerValueWhenUnsetConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateIntegerParameterDeclaration): TemplateIntegerParameterDeclaration = TemplateIntegerParameterDeclaration(
            defaultValues = javaType.defaultValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateIntegerDefaultValues.Companion.toKotlin(args0)
                })
            }).orElse(null),
            mappedDataSetParameters = javaType.mappedDataSetParameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateMappedDataSetParameter.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            parameterValueType = javaType.parameterValueType().let({ args0 ->
                com.pulumi.awsnative.quicksight.kotlin.enums.TemplateParameterValueType.Companion.toKotlin(args0)
            }),
            valueWhenUnset = javaType.valueWhenUnset().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateIntegerValueWhenUnsetConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy