CopyableBuilder<ReceiptAction.Builder,ReceiptAction>
, SdkBuilder<ReceiptAction.Builder,ReceiptAction>
public static interface ReceiptAction.Builder extends CopyableBuilder<ReceiptAction.Builder,ReceiptAction>
Modifier and Type | Method | Description |
---|---|---|
ReceiptAction.Builder |
addHeaderAction(AddHeaderAction addHeaderAction) |
Adds a header to the received email.
|
ReceiptAction.Builder |
bounceAction(BounceAction bounceAction) |
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a
notification to Amazon Simple Notification Service (Amazon SNS).
|
ReceiptAction.Builder |
lambdaAction(LambdaAction lambdaAction) |
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
|
ReceiptAction.Builder |
s3Action(S3Action s3Action) |
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes
a notification to Amazon SNS.
|
ReceiptAction.Builder |
snsAction(SNSAction snsAction) |
Publishes the email content within a notification to Amazon SNS.
|
ReceiptAction.Builder |
stopAction(StopAction stopAction) |
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
|
ReceiptAction.Builder |
workmailAction(WorkmailAction workmailAction) |
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
|
copy
apply, build
ReceiptAction.Builder s3Action(S3Action s3Action)
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
s3Action
- Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally,
publishes a notification to Amazon SNS.ReceiptAction.Builder bounceAction(BounceAction bounceAction)
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
bounceAction
- Rejects the received email by returning a bounce response to the sender and, optionally, publishes a
notification to Amazon Simple Notification Service (Amazon SNS).ReceiptAction.Builder workmailAction(WorkmailAction workmailAction)
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
workmailAction
- Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.ReceiptAction.Builder lambdaAction(LambdaAction lambdaAction)
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
lambdaAction
- Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.ReceiptAction.Builder stopAction(StopAction stopAction)
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
stopAction
- Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon
SNS.ReceiptAction.Builder addHeaderAction(AddHeaderAction addHeaderAction)
Adds a header to the received email.
addHeaderAction
- Adds a header to the received email.ReceiptAction.Builder snsAction(SNSAction snsAction)
Publishes the email content within a notification to Amazon SNS.
snsAction
- Publishes the email content within a notification to Amazon SNS.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.