Class CfnTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplateMixinProps>
- Enclosing interface:
CfnTemplateMixinProps
@Stability(Stable)
public static final class CfnTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateMixinProps>
A builder for
CfnTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplateMixinProps.getTags()Sets the value ofCfnTemplateMixinProps.getTemplate()template(IResolvable template) Sets the value ofCfnTemplateMixinProps.getTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnTemplateMixinProps.getTags()- Parameters:
tags- The tags (keys and values) associated with the email template.- Returns:
this
-
template
Sets the value ofCfnTemplateMixinProps.getTemplate()- Parameters:
template- The content of the email, composed of a subject line and either an HTML part or a text-only part.- Returns:
this
-
template
@Stability(Stable) public CfnTemplateMixinProps.Builder template(CfnTemplatePropsMixin.TemplateProperty template) Sets the value ofCfnTemplateMixinProps.getTemplate()- Parameters:
template- The content of the email, composed of a subject line and either an HTML part or a text-only part.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplateMixinProps>- Returns:
- a new instance of
CfnTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-