com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisDateTimeParameterDeclaration.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.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTimeGranularity
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 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 AnalysisDateTimeParameterDeclaration(
public val defaultValues: AnalysisDateTimeDefaultValues? = null,
public val mappedDataSetParameters: List? = null,
public val name: String,
public val timeGranularity: AnalysisTimeGranularity? = null,
public val valueWhenUnset: AnalysisDateTimeValueWhenUnsetConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisDateTimeParameterDeclaration): AnalysisDateTimeParameterDeclaration = AnalysisDateTimeParameterDeclaration(
defaultValues = javaType.defaultValues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisDateTimeDefaultValues.Companion.toKotlin(args0)
})
}).orElse(null),
mappedDataSetParameters = javaType.mappedDataSetParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisMappedDataSetParameter.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
timeGranularity = javaType.timeGranularity().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTimeGranularity.Companion.toKotlin(args0)
})
}).orElse(null),
valueWhenUnset = javaType.valueWhenUnset().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisDateTimeValueWhenUnsetConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}