public static interface CreateEmailTemplateRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<CreateEmailTemplateRequest.Builder,CreateEmailTemplateRequest>
Modifier and Type | Method and Description |
---|---|
CreateEmailTemplateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEmailTemplateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateEmailTemplateRequest.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.
|
CreateEmailTemplateRequest.Builder |
templateContent(EmailTemplateContent templateContent)
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
|
CreateEmailTemplateRequest.Builder |
templateName(String templateName)
The name of the template.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateEmailTemplateRequest.Builder templateName(String templateName)
The name of the template.
templateName
- The name of the template.CreateEmailTemplateRequest.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 CreateEmailTemplateRequest.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.Builder
templateContent(EmailTemplateContent)
CreateEmailTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateEmailTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.