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.Builder
template
(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
@Stability(Stable) public static CfnTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate>
- Returns:
- a newly built instance of
CfnTemplate
.
-