
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateRelativeDateTimeControlDisplayOptionsArgs.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.TemplateRelativeDateTimeControlDisplayOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property dateTimeFormat Customize how dates are formatted in controls.
* @property infoIconLabelOptions The configuration of info icon label options.
* @property titleOptions The options to configure the title visibility, name, and font size.
*/
public data class TemplateRelativeDateTimeControlDisplayOptionsArgs(
public val dateTimeFormat: Output? = null,
public val infoIconLabelOptions: Output? = null,
public val titleOptions: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateRelativeDateTimeControlDisplayOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateRelativeDateTimeControlDisplayOptionsArgs.builder()
.dateTimeFormat(dateTimeFormat?.applyValue({ args0 -> args0 }))
.infoIconLabelOptions(
infoIconLabelOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.titleOptions(titleOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateRelativeDateTimeControlDisplayOptionsArgs].
*/
@PulumiTagMarker
public class TemplateRelativeDateTimeControlDisplayOptionsArgsBuilder internal constructor() {
private var dateTimeFormat: Output? = null
private var infoIconLabelOptions: Output? = null
private var titleOptions: Output? = null
/**
* @param value Customize how dates are formatted in controls.
*/
@JvmName("cetvrtisybrkegme")
public suspend fun dateTimeFormat(`value`: Output) {
this.dateTimeFormat = value
}
/**
* @param value The configuration of info icon label options.
*/
@JvmName("vxnifqxckosjatfy")
public suspend fun infoIconLabelOptions(`value`: Output) {
this.infoIconLabelOptions = value
}
/**
* @param value The options to configure the title visibility, name, and font size.
*/
@JvmName("getyahaefiamjhru")
public suspend fun titleOptions(`value`: Output) {
this.titleOptions = value
}
/**
* @param value Customize how dates are formatted in controls.
*/
@JvmName("ppfyfwsapysruyli")
public suspend fun dateTimeFormat(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dateTimeFormat = mapped
}
/**
* @param value The configuration of info icon label options.
*/
@JvmName("paklcipjiypvgmln")
public suspend fun infoIconLabelOptions(`value`: TemplateSheetControlInfoIconLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.infoIconLabelOptions = mapped
}
/**
* @param argument The configuration of info icon label options.
*/
@JvmName("bumdvhdkxjlqltjb")
public suspend fun infoIconLabelOptions(argument: suspend TemplateSheetControlInfoIconLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateSheetControlInfoIconLabelOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.infoIconLabelOptions = mapped
}
/**
* @param value The options to configure the title visibility, name, and font size.
*/
@JvmName("qvaiogcxayyogsnx")
public suspend fun titleOptions(`value`: TemplateLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.titleOptions = mapped
}
/**
* @param argument The options to configure the title visibility, name, and font size.
*/
@JvmName("ksfvrkgdruyrripf")
public suspend fun titleOptions(argument: suspend TemplateLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.titleOptions = mapped
}
internal fun build(): TemplateRelativeDateTimeControlDisplayOptionsArgs =
TemplateRelativeDateTimeControlDisplayOptionsArgs(
dateTimeFormat = dateTimeFormat,
infoIconLabelOptions = infoIconLabelOptions,
titleOptions = titleOptions,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy