Interface Template.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Template.Builder,
,Template> SdkBuilder<Template.Builder,
,Template> SdkPojo
- Enclosing class:
Template
public static interface Template.Builder
extends SdkPojo, CopyableBuilder<Template.Builder,Template>
-
Method Summary
Modifier and TypeMethodDescriptionThe HTML body of the email.subjectPart
(String subjectPart) The subject line of the email.templateName
(String templateName) The name of the template.The email body that is visible to recipients whose email clients do not display HTML content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
templateName
The name of the template. You use this name when you send email using the
SendTemplatedEmail
orSendBulkTemplatedEmail
operations.- Parameters:
templateName
- The name of the template. You use this name when you send email using theSendTemplatedEmail
orSendBulkTemplatedEmail
operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectPart
The subject line of the email.
- Parameters:
subjectPart
- The subject line of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textPart
The email body that is visible to recipients whose email clients do not display HTML content.
- Parameters:
textPart
- The email body that is visible to recipients whose email clients do not display HTML content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
htmlPart
The HTML body of the email.
- Parameters:
htmlPart
- The HTML body of the email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-