Class WorkMail.Builder

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

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

    • create

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

      @Stability(Stable) public WorkMail.Builder organizationArn(String organizationArn)
      The WorkMail organization ARN.

      Amazon WorkMail organization ARNs are in the form arn:aws:workmail:region:account_ID:organization/organization_ID

      Example:

       "arn:aws:workmail:us-east-1:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7";
       

      Parameters:
      organizationArn - The WorkMail organization ARN. This parameter is required.
      Returns:
      this
    • topic

      @Stability(Stable) public WorkMail.Builder topic(ITopic topic)
      The SNS topic to notify when the WorkMail action is taken.

      Default: - no topic will be attached to the action

      Parameters:
      topic - The SNS topic to notify when the WorkMail action is taken. This parameter is required.
      Returns:
      this
    • build

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