com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisLongFormatTextArgs.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.AnalysisLongFormatTextArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property plainText Plain text format.
* @property richText Rich text. Examples of rich text include bold, underline, and italics.
*/
public data class AnalysisLongFormatTextArgs(
public val plainText: Output? = null,
public val richText: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisLongFormatTextArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisLongFormatTextArgs.builder()
.plainText(plainText?.applyValue({ args0 -> args0 }))
.richText(richText?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisLongFormatTextArgs].
*/
@PulumiTagMarker
public class AnalysisLongFormatTextArgsBuilder internal constructor() {
private var plainText: Output? = null
private var richText: Output? = null
/**
* @param value Plain text format.
*/
@JvmName("gpfnfusefsiuyaka")
public suspend fun plainText(`value`: Output) {
this.plainText = value
}
/**
* @param value Rich text. Examples of rich text include bold, underline, and italics.
*/
@JvmName("xnbmpbxqpkvfcmuw")
public suspend fun richText(`value`: Output) {
this.richText = value
}
/**
* @param value Plain text format.
*/
@JvmName("iyqkiaabeplbjyfb")
public suspend fun plainText(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.plainText = mapped
}
/**
* @param value Rich text. Examples of rich text include bold, underline, and italics.
*/
@JvmName("hidhxwuvhjinimuq")
public suspend fun richText(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.richText = mapped
}
internal fun build(): AnalysisLongFormatTextArgs = AnalysisLongFormatTextArgs(
plainText = plainText,
richText = richText,
)
}