Interface UpdateEmailTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEmailTemplateRequest.Builder,
,UpdateEmailTemplateRequest> SdkBuilder<UpdateEmailTemplateRequest.Builder,
,UpdateEmailTemplateRequest> SdkPojo
,SdkRequest.Builder
,SesV2Request.Builder
- Enclosing class:
UpdateEmailTemplateRequest
public static interface UpdateEmailTemplateRequest.Builder
extends SesV2Request.Builder, SdkPojo, CopyableBuilder<UpdateEmailTemplateRequest.Builder,UpdateEmailTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateContent
(Consumer<EmailTemplateContent.Builder> templateContent) The content of the email template, composed of a subject line, an HTML part, and a text-only part.templateContent
(EmailTemplateContent templateContent) The content of the email template, composed of a subject line, an HTML part, and a text-only part.templateName
(String templateName) The name of the template.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
templateName
The name of the template.
- Parameters:
templateName
- The name of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateContent
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
- Parameters:
templateContent
- The content of the email template, composed of a subject line, an HTML part, and a text-only part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateContent
default UpdateEmailTemplateRequest.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 viaEmailTemplateContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateContent(EmailTemplateContent)
.- Parameters:
templateContent
- a consumer that will call methods onEmailTemplateContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEmailTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEmailTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-