Class CfnTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnTemplateProps.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnTemplateProps>
- Enclosing interface:
 CfnTemplateProps
@Stability(Stable)
public static final class CfnTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplateProps>
A builder for 
CfnTemplateProps- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.template(IResolvable template) Sets the value ofCfnTemplateProps.getTemplate()template(CfnTemplate.TemplateProperty template) Sets the value ofCfnTemplateProps.getTemplate() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
template
Sets the value ofCfnTemplateProps.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
Sets the value ofCfnTemplateProps.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<CfnTemplateProps>- Returns:
 - a new instance of 
CfnTemplateProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -