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 Details

    • create

      @Stability(Stable) public static CfnTemplate.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnTemplate.Builder.
    • template

      @Stability(Stable) public 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.

      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

      @Stability(Stable) public CfnTemplate.Builder template(CfnTemplate.TemplateProperty 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

      @Stability(Stable) public CfnTemplate build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnTemplate>
      Returns:
      a newly built instance of CfnTemplate.