
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardRelativeDateTimeControlDisplayOptions.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 kotlin.String
import kotlin.Suppress
/**
*
* @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 DashboardRelativeDateTimeControlDisplayOptions(
public val dateTimeFormat: String? = null,
public val infoIconLabelOptions: DashboardSheetControlInfoIconLabelOptions? = null,
public val titleOptions: DashboardLabelOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardRelativeDateTimeControlDisplayOptions): DashboardRelativeDateTimeControlDisplayOptions =
DashboardRelativeDateTimeControlDisplayOptions(
dateTimeFormat = javaType.dateTimeFormat().map({ args0 -> args0 }).orElse(null),
infoIconLabelOptions = javaType.infoIconLabelOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSheetControlInfoIconLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
titleOptions = javaType.titleOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy