All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.pinpoint.kotlin.inputs.InAppTemplateBodyConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.pinpoint.kotlin.inputs

import com.pulumi.awsnative.pinpoint.inputs.InAppTemplateBodyConfigArgs.builder
import com.pulumi.awsnative.pinpoint.kotlin.enums.InAppTemplateAlignment
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 alignment The text alignment of the main body text of the message. Acceptable values: `LEFT` , `CENTER` , `RIGHT` .
 * @property body The main body text of the message.
 * @property textColor The color of the body text, expressed as a hex color code (such as #000000 for black).
 */
public data class InAppTemplateBodyConfigArgs(
    public val alignment: Output? = null,
    public val body: Output? = null,
    public val textColor: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.pinpoint.inputs.InAppTemplateBodyConfigArgs =
        com.pulumi.awsnative.pinpoint.inputs.InAppTemplateBodyConfigArgs.builder()
            .alignment(alignment?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .body(body?.applyValue({ args0 -> args0 }))
            .textColor(textColor?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [InAppTemplateBodyConfigArgs].
 */
@PulumiTagMarker
public class InAppTemplateBodyConfigArgsBuilder internal constructor() {
    private var alignment: Output? = null

    private var body: Output? = null

    private var textColor: Output? = null

    /**
     * @param value The text alignment of the main body text of the message. Acceptable values: `LEFT` , `CENTER` , `RIGHT` .
     */
    @JvmName("liokcrxwuvceygsm")
    public suspend fun alignment(`value`: Output) {
        this.alignment = value
    }

    /**
     * @param value The main body text of the message.
     */
    @JvmName("kaipnhxwvghlviyw")
    public suspend fun body(`value`: Output) {
        this.body = value
    }

    /**
     * @param value The color of the body text, expressed as a hex color code (such as #000000 for black).
     */
    @JvmName("qeaxpyulwqrdqiqd")
    public suspend fun textColor(`value`: Output) {
        this.textColor = value
    }

    /**
     * @param value The text alignment of the main body text of the message. Acceptable values: `LEFT` , `CENTER` , `RIGHT` .
     */
    @JvmName("fhxxcjbpgbsybaol")
    public suspend fun alignment(`value`: InAppTemplateAlignment?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.alignment = mapped
    }

    /**
     * @param value The main body text of the message.
     */
    @JvmName("hhjdwfbbrlnxvuey")
    public suspend fun body(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.body = mapped
    }

    /**
     * @param value The color of the body text, expressed as a hex color code (such as #000000 for black).
     */
    @JvmName("ibcowathpsnlvdvy")
    public suspend fun textColor(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.textColor = mapped
    }

    internal fun build(): InAppTemplateBodyConfigArgs = InAppTemplateBodyConfigArgs(
        alignment = alignment,
        body = body,
        textColor = textColor,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy