Class CfnReceiptRule.WorkmailActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptRule.WorkmailActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRule.WorkmailActionProperty>
- Enclosing interface:
- CfnReceiptRule.WorkmailActionProperty
@Stability(Stable)
public static final class CfnReceiptRule.WorkmailActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReceiptRule.WorkmailActionProperty>
A builder for
CfnReceiptRule.WorkmailActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.organizationArn
(String organizationArn) Sets the value ofCfnReceiptRule.WorkmailActionProperty.getOrganizationArn()
Sets the value ofCfnReceiptRule.WorkmailActionProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationArn
@Stability(Stable) public CfnReceiptRule.WorkmailActionProperty.Builder organizationArn(String organizationArn) Sets the value ofCfnReceiptRule.WorkmailActionProperty.getOrganizationArn()
- Parameters:
organizationArn
- The Amazon Resource Name (ARN) of the Amazon WorkMail organization. Amazon WorkMail ARNs use the following format:. This parameter is required.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
Sets the value ofCfnReceiptRule.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnReceiptRule.WorkmailActionProperty>
- Returns:
- a new instance of
CfnReceiptRule.WorkmailActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-