Class WorkmailActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ses.WorkmailActionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkmailActionConfig>
- Enclosing interface:
WorkmailActionConfig
@Stability(Stable)
public static final class WorkmailActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<WorkmailActionConfig>
A builder for
WorkmailActionConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.organizationArn
(String organizationArn) Sets the value ofWorkmailActionConfig.getOrganizationArn()
Sets the value ofWorkmailActionConfig.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationArn
Sets the value ofWorkmailActionConfig.getOrganizationArn()
- Parameters:
organizationArn
- The Amazon Resource Name (ARN) of the Amazon WorkMail organization. This parameter is required.- Returns:
this
-
topicArn
Sets the value ofWorkmailActionConfig.getTopicArn()
- Parameters:
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WorkmailActionConfig>
- Returns:
- a new instance of
WorkmailActionConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-