Class CfnReceiptRulePropsMixin.WorkmailActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnReceiptRulePropsMixin.WorkmailActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.WorkmailActionProperty>
- Enclosing interface:
CfnReceiptRulePropsMixin.WorkmailActionProperty
@Stability(Stable)
public static final class CfnReceiptRulePropsMixin.WorkmailActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRulePropsMixin.WorkmailActionProperty>
A builder for
CfnReceiptRulePropsMixin.WorkmailActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.organizationArn(String organizationArn) Sets the value ofCfnReceiptRulePropsMixin.WorkmailActionProperty.getOrganizationArn()Sets the value ofCfnReceiptRulePropsMixin.WorkmailActionProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationArn
@Stability(Stable) public CfnReceiptRulePropsMixin.WorkmailActionProperty.Builder organizationArn(String organizationArn) Sets the value ofCfnReceiptRulePropsMixin.WorkmailActionProperty.getOrganizationArn()- Parameters:
organizationArn- The Amazon Resource Name (ARN) of the Amazon WorkMail organization. Amazon WorkMail ARNs use the following format:.arn:aws:workmail:<region>:<awsAccountId>:organization/<workmailOrganizationId>You can find the ID of your organization by using the ListOrganizations operation in Amazon WorkMail. Amazon WorkMail organization IDs begin with "
m-", followed by a string of alphanumeric characters.For information about Amazon WorkMail organizations, see the Amazon WorkMail Administrator Guide .
- Returns:
this
-
topicArn
@Stability(Stable) public CfnReceiptRulePropsMixin.WorkmailActionProperty.Builder topicArn(String topicArn) Sets the value ofCfnReceiptRulePropsMixin.WorkmailActionProperty.getTopicArn()- Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReceiptRulePropsMixin.WorkmailActionProperty>- Returns:
- a new instance of
CfnReceiptRulePropsMixin.WorkmailActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-