@Stability(value=Stable)
public static interface CfnTemplate.TemplateProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
TemplateProperty templateProperty = TemplateProperty.builder()
.subjectPart("subjectPart")
// the properties below are optional
.htmlPart("htmlPart")
.templateName("templateName")
.textPart("textPart")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTemplate.TemplateProperty.Builder
A builder for
CfnTemplate.TemplateProperty |
static class |
CfnTemplate.TemplateProperty.Jsii$Proxy
An implementation for
CfnTemplate.TemplateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTemplate.TemplateProperty.Builder |
builder() |
default String |
getHtmlPart()
The HTML body of the email.
|
String |
getSubjectPart()
The subject line of the email.
|
default String |
getTemplateName()
The name of the template.
|
default String |
getTextPart()
The email body that is visible to recipients whose email clients do not display HTML content.
|
@Stability(value=Stable) @NotNull String getSubjectPart()
@Stability(value=Stable) @Nullable default String getHtmlPart()
@Stability(value=Stable) @Nullable default String getTemplateName()
@Stability(value=Stable) @Nullable default String getTextPart()
@Stability(value=Stable) static CfnTemplate.TemplateProperty.Builder builder()
Copyright © 2022. All rights reserved.