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 Summary
Modifier and TypeMethodDescriptionbuild()
static WorkMail.Builder
create()
organizationArn
(String organizationArn) The WorkMail organization ARN.The SNS topic to notify when the WorkMail action is taken.
-
Method Details
-
create
- Returns:
- a new instance of
WorkMail.Builder
.
-
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
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
-