Interface CreateEmailTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEmailTemplateRequest.Builder,CreateEmailTemplateRequest>,SdkBuilder<CreateEmailTemplateRequest.Builder,CreateEmailTemplateRequest>,SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
- CreateEmailTemplateRequest
@Mutable @NotThreadSafe public static interface CreateEmailTemplateRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<CreateEmailTemplateRequest.Builder,CreateEmailTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEmailTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEmailTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateEmailTemplateRequest.BuildertemplateContent(Consumer<EmailTemplateContent.Builder> templateContent)The content of the email template, composed of a subject line, an HTML part, and a text-only part.CreateEmailTemplateRequest.BuildertemplateContent(EmailTemplateContent templateContent)The content of the email template, composed of a subject line, an HTML part, and a text-only part.CreateEmailTemplateRequest.BuildertemplateName(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
-
-
-
Method Detail
-
templateName
CreateEmailTemplateRequest.Builder templateName(String 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
CreateEmailTemplateRequest.Builder templateContent(EmailTemplateContent 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 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.Builderavoiding the need to create one manually viaEmailTemplateContent.builder().When the
Consumercompletes,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:
templateContent(EmailTemplateContent)
-
overrideConfiguration
CreateEmailTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEmailTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-