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.Buildertemplate(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTemplate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-