public static interface CreateTemplateRequest.Builder extends SESRequest.Builder, CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
Modifier and Type | Method and Description |
---|---|
CreateTemplateRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateTemplateRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateTemplateRequest.Builder |
template(Consumer<Template.Builder> template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
|
CreateTemplateRequest.Builder |
template(Template template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
|
build
requestOverrideConfig
copy
apply, build
CreateTemplateRequest.Builder template(Template template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
template
- The content of the email, composed of a subject line, an HTML part, and a text-only part.default CreateTemplateRequest.Builder template(Consumer<Template.Builder> template)
The content of the email, composed of a subject line, an HTML part, and a text-only part.
This is a convenience that creates an instance of theTemplate.Builder
avoiding the need to create
one manually via Template.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to template(Template)
.template
- a consumer that will call methods on Template.Builder
template(Template)
CreateTemplateRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateTemplateRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.