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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Template.Builder
htmlPart(String htmlPart)
The HTML body of the email.Template.Builder
subjectPart(String subjectPart)
The subject line of the email.Template.Builder
templateName(String templateName)
The name of the template.Template.Builder
textPart(String textPart)
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 Detail
-
templateName
Template.Builder templateName(String 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
Template.Builder subjectPart(String 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
Template.Builder textPart(String 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
Template.Builder htmlPart(String 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.
-
-