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.BuilderhtmlPart(String htmlPart)The HTML body of the email.Template.BuildersubjectPart(String subjectPart)The subject line of the email.Template.BuildertemplateName(String templateName)The name of the template.Template.BuildertextPart(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
templateName
Template.Builder templateName(String templateName)
The name of the template. You use this name when you send email using the
SendTemplatedEmailorSendBulkTemplatedEmailoperations.- Parameters:
templateName- The name of the template. You use this name when you send email using theSendTemplatedEmailorSendBulkTemplatedEmailoperations.- 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.
-
-