Package com.pulumi.aws.pinpoint.inputs
Class EmailTemplateEmailTemplateArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.pinpoint.inputs.EmailTemplateEmailTemplateArgs.Builder
-
- Enclosing class:
- EmailTemplateEmailTemplateArgs
public static final class EmailTemplateEmailTemplateArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EmailTemplateEmailTemplateArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EmailTemplateEmailTemplateArgs defaults)
-
-
Method Detail
-
defaultSubstitutions
public EmailTemplateEmailTemplateArgs.Builder defaultSubstitutions(@Nullable com.pulumi.core.Output<java.lang.String> defaultSubstitutions)
- Parameters:
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.- Returns:
- builder
-
defaultSubstitutions
public EmailTemplateEmailTemplateArgs.Builder defaultSubstitutions(java.lang.String defaultSubstitutions)
- Parameters:
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.- Returns:
- builder
-
description
public EmailTemplateEmailTemplateArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Custom description of the message template.- Returns:
- builder
-
description
public EmailTemplateEmailTemplateArgs.Builder description(java.lang.String description)
- Parameters:
description- Custom description of the message template.- Returns:
- builder
-
headers
public EmailTemplateEmailTemplateArgs.Builder headers(@Nullable com.pulumi.core.Output<java.util.List<EmailTemplateEmailTemplateHeaderArgs>> headers)
- Parameters:
headers- List of [MessageHeaders](https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader) for the email. You can have up to 15 Headers. See below.- Returns:
- builder
-
headers
public EmailTemplateEmailTemplateArgs.Builder headers(java.util.List<EmailTemplateEmailTemplateHeaderArgs> headers)
- Parameters:
headers- List of [MessageHeaders](https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader) for the email. You can have up to 15 Headers. See below.- Returns:
- builder
-
headers
public EmailTemplateEmailTemplateArgs.Builder headers(EmailTemplateEmailTemplateHeaderArgs... headers)
- Parameters:
headers- List of [MessageHeaders](https://docs.aws.amazon.com/pinpoint/latest/apireference/templates-template-name-email.html#templates-template-name-email-model-messageheader) for the email. You can have up to 15 Headers. See below.- Returns:
- builder
-
htmlPart
public EmailTemplateEmailTemplateArgs.Builder htmlPart(@Nullable com.pulumi.core.Output<java.lang.String> htmlPart)
- Parameters:
htmlPart- 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.- Returns:
- builder
-
htmlPart
public EmailTemplateEmailTemplateArgs.Builder htmlPart(java.lang.String htmlPart)
- Parameters:
htmlPart- 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.- Returns:
- builder
-
recommenderId
public EmailTemplateEmailTemplateArgs.Builder recommenderId(@Nullable com.pulumi.core.Output<java.lang.String> recommenderId)
- Parameters:
recommenderId- Unique identifier for the recommender model to use for the message template. AWS End User Messaging 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.- Returns:
- builder
-
recommenderId
public EmailTemplateEmailTemplateArgs.Builder recommenderId(java.lang.String recommenderId)
- Parameters:
recommenderId- Unique identifier for the recommender model to use for the message template. AWS End User Messaging 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.- Returns:
- builder
-
subject
public EmailTemplateEmailTemplateArgs.Builder subject(@Nullable com.pulumi.core.Output<java.lang.String> subject)
- Parameters:
subject- Subject line, or title, to use in email messages that are based on the message template.- Returns:
- builder
-
subject
public EmailTemplateEmailTemplateArgs.Builder subject(java.lang.String subject)
- Parameters:
subject- Subject line, or title, to use in email messages that are based on the message template.- Returns:
- builder
-
textPart
public EmailTemplateEmailTemplateArgs.Builder textPart(@Nullable com.pulumi.core.Output<java.lang.String> textPart)
- Parameters:
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.- Returns:
- builder
-
textPart
public EmailTemplateEmailTemplateArgs.Builder textPart(java.lang.String textPart)
- Parameters:
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.- Returns:
- builder
-
build
public EmailTemplateEmailTemplateArgs build()
-
-