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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.organizationArn
(String organizationArn) Sets the value ofWorkMailProps.getOrganizationArn()
Sets the value ofWorkMailProps.getTopic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationArn
Sets the value ofWorkMailProps.getOrganizationArn()
- Parameters:
organizationArn
- The WorkMail organization ARN. This parameter is required. Amazon WorkMail organization ARNs are in the formarn:aws:workmail:region:account_ID:organization/organization_ID
- Returns:
this
-
topic
Sets the value ofWorkMailProps.getTopic()
- Parameters:
topic
- The SNS topic to notify when the WorkMail action is taken.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WorkMailProps>
- Returns:
- a new instance of
WorkMailProps
- Throws:
NullPointerException
- if any required attribute was not provided
-