Interface CreateTemplateRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateTemplateRequest.Builder,,- CreateTemplateRequest> - SdkBuilder<CreateTemplateRequest.Builder,,- CreateTemplateRequest> - SdkPojo,- SdkRequest.Builder,- SesRequest.Builder
- Enclosing class:
- CreateTemplateRequest
@Mutable
@NotThreadSafe
public static interface CreateTemplateRequest.Builder
extends SesRequest.Builder, SdkPojo, CopyableBuilder<CreateTemplateRequest.Builder,CreateTemplateRequest> 
- 
Method SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builderbuild
- 
Method Details- 
templateThe 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.
 
- 
templateThe 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 on- Template.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-