Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.pinpoint.kotlin.inputs
import com.pulumi.aws.pinpoint.inputs.EmailTemplateEmailTemplateArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property defaultSubstitutions JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
* @property description
* @property headers
* @property htmlPart The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
* @property recommenderId The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
* @property subject Subject line, or title, to use in email messages that are based on the message template.
* @property textPart Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
*/
public data class EmailTemplateEmailTemplateArgs(
public val defaultSubstitutions: Output? = null,
public val description: Output? = null,
public val headers: Output>? = null,
public val htmlPart: Output? = null,
public val recommenderId: Output? = null,
public val subject: Output? = null,
public val textPart: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pinpoint.inputs.EmailTemplateEmailTemplateArgs =
com.pulumi.aws.pinpoint.inputs.EmailTemplateEmailTemplateArgs.builder()
.defaultSubstitutions(defaultSubstitutions?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.headers(
headers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.htmlPart(htmlPart?.applyValue({ args0 -> args0 }))
.recommenderId(recommenderId?.applyValue({ args0 -> args0 }))
.subject(subject?.applyValue({ args0 -> args0 }))
.textPart(textPart?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EmailTemplateEmailTemplateArgs].
*/
@PulumiTagMarker
public class EmailTemplateEmailTemplateArgsBuilder internal constructor() {
private var defaultSubstitutions: Output? = null
private var description: Output? = null
private var headers: Output>? = null
private var htmlPart: Output? = null
private var recommenderId: Output? = null
private var subject: Output? = null
private var textPart: Output? = null
/**
* @param value JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
*/
@JvmName("bjgimuilnqgvouye")
public suspend fun defaultSubstitutions(`value`: Output) {
this.defaultSubstitutions = value
}
/**
* @param value
*/
@JvmName("jxtkmjraojabxamu")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value
*/
@JvmName("kycyfoqoxfdlbwcu")
public suspend fun headers(`value`: Output>) {
this.headers = value
}
@JvmName("nhmbnbuaelsepxgp")
public suspend fun headers(vararg values: Output) {
this.headers = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("friaguxodoitmpfn")
public suspend fun headers(values: List