public static final class CfnReceiptRule.WorkmailActionProperty.Builder
extends java.lang.Object
CfnReceiptRule.WorkmailActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnReceiptRule.WorkmailActionProperty |
build()
Builds the configured instance.
|
CfnReceiptRule.WorkmailActionProperty.Builder |
organizationArn(java.lang.String organizationArn)
Sets the value of
CfnReceiptRule.WorkmailActionProperty.getOrganizationArn() |
CfnReceiptRule.WorkmailActionProperty.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
CfnReceiptRule.WorkmailActionProperty.getTopicArn() |
public CfnReceiptRule.WorkmailActionProperty.Builder organizationArn(java.lang.String organizationArn)
CfnReceiptRule.WorkmailActionProperty.getOrganizationArn()
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 .
this
public CfnReceiptRule.WorkmailActionProperty.Builder topicArn(java.lang.String topicArn)
CfnReceiptRule.WorkmailActionProperty.getTopicArn()
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 .
this
public CfnReceiptRule.WorkmailActionProperty build()
CfnReceiptRule.WorkmailActionProperty
java.lang.NullPointerException
- if any required attribute was not provided