Class WorkMailProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • organizationArn

      @Stability(Stable) public WorkMailProps.Builder organizationArn(String organizationArn)
      Parameters:
      organizationArn - The WorkMail organization ARN. This parameter is required. Amazon WorkMail organization ARNs are in the form arn:aws:workmail:region:account_ID:organization/organization_ID
      Returns:
      this
    • topic

      @Stability(Stable) public WorkMailProps.Builder topic(ITopic topic)
      Sets the value of WorkMailProps.getTopic()
      Parameters:
      topic - The SNS topic to notify when the WorkMail action is taken.
      Returns:
      this
    • build

      @Stability(Stable) public WorkMailProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<WorkMailProps>
      Returns:
      a new instance of WorkMailProps
      Throws:
      NullPointerException - if any required attribute was not provided