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

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

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

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

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateValueWhenUnsetOption
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property customValue A custom value that's used when the value of a parameter isn't set.
 * @property valueWhenUnsetOption The built-in options for default values. The value can be one of the following:
 * - `RECOMMENDED` : The recommended value.
 * - `NULL` : The `NULL` value.
 */
public data class TemplateDateTimeValueWhenUnsetConfiguration(
    public val customValue: String? = null,
    public val valueWhenUnsetOption: TemplateValueWhenUnsetOption? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateDateTimeValueWhenUnsetConfiguration): TemplateDateTimeValueWhenUnsetConfiguration = TemplateDateTimeValueWhenUnsetConfiguration(
            customValue = javaType.customValue().map({ args0 -> args0 }).orElse(null),
            valueWhenUnsetOption = javaType.valueWhenUnsetOption().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateValueWhenUnsetOption.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy