Interface CreateTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> SdkBuilder<CreateTemplateRequest.Builder,
,CreateTemplateRequest> SdkPojo
,SdkRequest.Builder
,SesRequest.Builder
- Enclosing class:
CreateTemplateRequest
public static interface CreateTemplateRequest.Builder
extends SesRequest.Builder, SdkPojo, CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateTemplateRequest.Builder
template
(Consumer<Template.Builder> template) The content of the email, composed of a subject line and either an HTML part or a text-only part.The content of the email, composed of a subject line and either an HTML part or a text-only part.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.ses.model.SesRequest.Builder
build
-
Method Details
-
template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
- Parameters:
template
- The content of the email, composed of a subject line and either an HTML part or a text-only part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
template
The content of the email, composed of a subject line and either an HTML part or a text-only part.
This is a convenience method that creates an instance of theTemplate.Builder
avoiding the need to create one manually viaTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplate(Template)
.- Parameters:
template
- a consumer that will call methods onTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTemplateRequest.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
CreateTemplateRequest.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.
-