public static interface GetEmailTemplateResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetEmailTemplateResponse.Builder,GetEmailTemplateResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetEmailTemplateResponse.Builder |
templateContent(Consumer<EmailTemplateContent.Builder> templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
GetEmailTemplateResponse.Builder |
templateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
GetEmailTemplateResponse.Builder |
templateName(String templateName)
The name of the template.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEmailTemplateResponse.Builder templateName(String templateName)
The name of the template.
templateName - The name of the template.GetEmailTemplateResponse.Builder templateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
templateContent - The content of the email template, composed of a subject line, an HTML part, and a text-only part.default GetEmailTemplateResponse.Builder templateContent(Consumer<EmailTemplateContent.Builder> templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
This is a convenience method that creates an instance of theEmailTemplateContent.Builder avoiding
the need to create one manually via EmailTemplateContent.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to templateContent(EmailTemplateContent).
templateContent - a consumer that will call methods on EmailTemplateContent.BuildertemplateContent(EmailTemplateContent)Copyright © 2022. All rights reserved.