Class Sns.Builder

java.lang.Object
software.amazon.awscdk.services.ses.actions.Sns.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Sns>
Enclosing class:
Sns

@Stability(Stable) public static final class Sns.Builder extends Object implements software.amazon.jsii.Builder<Sns>
A fluent builder for Sns.
  • Method Details

    • create

      @Stability(Stable) public static Sns.Builder create()
      Returns:
      a new instance of Sns.Builder.
    • topic

      @Stability(Stable) public Sns.Builder topic(ITopic topic)
      The SNS topic to notify.

      Parameters:
      topic - The SNS topic to notify. This parameter is required.
      Returns:
      this
    • encoding

      @Stability(Stable) public Sns.Builder encoding(EmailEncoding encoding)
      The encoding to use for the email within the Amazon SNS notification.

      Default: UTF-8

      Parameters:
      encoding - The encoding to use for the email within the Amazon SNS notification. This parameter is required.
      Returns:
      this
    • build

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