com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDateTimeParameterDeclarationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisDateTimeParameterDeclarationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTimeGranularity
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.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 timeGranularity The level of time precision that is used to aggregate `DateTime` values.
* @property valueWhenUnset The configuration that defines the default value of a `DateTime` parameter when a value has not been set.
*/
public data class AnalysisDateTimeParameterDeclarationArgs(
public val defaultValues: Output? = null,
public val mappedDataSetParameters: Output>? = null,
public val name: Output,
public val timeGranularity: Output? = null,
public val valueWhenUnset: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDateTimeParameterDeclarationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisDateTimeParameterDeclarationArgs.builder()
.defaultValues(defaultValues?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.mappedDataSetParameters(
mappedDataSetParameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.name(name.applyValue({ args0 -> args0 }))
.timeGranularity(timeGranularity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.valueWhenUnset(
valueWhenUnset?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AnalysisDateTimeParameterDeclarationArgs].
*/
@PulumiTagMarker
public class AnalysisDateTimeParameterDeclarationArgsBuilder internal constructor() {
private var defaultValues: Output? = null
private var mappedDataSetParameters: Output>? = null
private var name: Output? = null
private var timeGranularity: Output? = null
private var valueWhenUnset: Output? = null
/**
* @param value The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
*/
@JvmName("afhtqjyoiqeilxap")
public suspend fun defaultValues(`value`: Output) {
this.defaultValues = value
}
/**
* @param value
*/
@JvmName("wjuboympsxuyuiyx")
public suspend fun mappedDataSetParameters(`value`: Output>) {
this.mappedDataSetParameters = value
}
@JvmName("wdyvfrpojejbixev")
public suspend fun mappedDataSetParameters(vararg values: Output) {
this.mappedDataSetParameters = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("ogfwwbvouarofmkn")
public suspend fun mappedDataSetParameters(values: List