Class CfnTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate>
- Enclosing class:
- CfnTemplate
@Stability(Stable)
public static final class CfnTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate>
A fluent builder for
CfnTemplate.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTemplate.Buildertemplate(IResolvable template) The content of the email, composed of a subject line and either an HTML part or a text-only part.template(CfnTemplate.TemplateProperty template) The content of the email, composed of a subject line and either an HTML part or a text-only part.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnTemplate.Builder.
-
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. This parameter is required.- Returns:
this
-
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. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate>- Returns:
- a newly built instance of
CfnTemplate.
-