public static interface ReceiptAction.Builder extends CopyableBuilder<ReceiptAction.Builder,ReceiptAction>
| Modifier and Type | Method and Description |
|---|---|
ReceiptAction.Builder |
addHeaderAction(AddHeaderAction addHeaderAction)
Adds a header to the received email.
|
default ReceiptAction.Builder |
addHeaderAction(Consumer<AddHeaderAction.Builder> 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).
|
default ReceiptAction.Builder |
bounceAction(Consumer<BounceAction.Builder> 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).
|
default ReceiptAction.Builder |
lambdaAction(Consumer<LambdaAction.Builder> lambdaAction)
Calls an AWS Lambda function, 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.
|
default ReceiptAction.Builder |
s3Action(Consumer<S3Action.Builder> s3Action)
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket 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.
|
default ReceiptAction.Builder |
snsAction(Consumer<SNSAction.Builder> snsAction)
Publishes the email content within a notification to Amazon SNS.
|
ReceiptAction.Builder |
snsAction(SNSAction snsAction)
Publishes the email content within a notification to Amazon SNS.
|
default ReceiptAction.Builder |
stopAction(Consumer<StopAction.Builder> stopAction)
Terminates the evaluation of the receipt rule set 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.
|
default ReceiptAction.Builder |
workmailAction(Consumer<WorkmailAction.Builder> workmailAction)
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
|
ReceiptAction.Builder |
workmailAction(WorkmailAction workmailAction)
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
|
copyapply, buildReceiptAction.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.default ReceiptAction.Builder s3Action(Consumer<S3Action.Builder> s3Action)
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
This is a convenience that creates an instance of theS3Action.Builder avoiding the need to create
one manually via S3Action.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to s3Action(S3Action).s3Action - a consumer that will call methods on S3Action.Builders3Action(S3Action)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).default ReceiptAction.Builder bounceAction(Consumer<BounceAction.Builder> 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).
This is a convenience that creates an instance of theBounceAction.Builder avoiding the need to
create one manually via BounceAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to bounceAction(BounceAction).bounceAction - a consumer that will call methods on BounceAction.BuilderbounceAction(BounceAction)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.default ReceiptAction.Builder workmailAction(Consumer<WorkmailAction.Builder> workmailAction)
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
This is a convenience that creates an instance of theWorkmailAction.Builder avoiding the need to
create one manually via WorkmailAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to workmailAction(WorkmailAction).workmailAction - a consumer that will call methods on WorkmailAction.BuilderworkmailAction(WorkmailAction)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.default ReceiptAction.Builder lambdaAction(Consumer<LambdaAction.Builder> lambdaAction)
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
This is a convenience that creates an instance of theLambdaAction.Builder avoiding the need to
create one manually via LambdaAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lambdaAction(LambdaAction).lambdaAction - a consumer that will call methods on LambdaAction.BuilderlambdaAction(LambdaAction)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.default ReceiptAction.Builder stopAction(Consumer<StopAction.Builder> stopAction)
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
This is a convenience that creates an instance of theStopAction.Builder avoiding the need to create
one manually via StopAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to stopAction(StopAction).stopAction - a consumer that will call methods on StopAction.BuilderstopAction(StopAction)ReceiptAction.Builder addHeaderAction(AddHeaderAction addHeaderAction)
Adds a header to the received email.
addHeaderAction - Adds a header to the received email.default ReceiptAction.Builder addHeaderAction(Consumer<AddHeaderAction.Builder> addHeaderAction)
Adds a header to the received email.
This is a convenience that creates an instance of theAddHeaderAction.Builder avoiding the need to
create one manually via AddHeaderAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to addHeaderAction(AddHeaderAction).addHeaderAction - a consumer that will call methods on AddHeaderAction.BuilderaddHeaderAction(AddHeaderAction)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.default ReceiptAction.Builder snsAction(Consumer<SNSAction.Builder> snsAction)
Publishes the email content within a notification to Amazon SNS.
This is a convenience that creates an instance of theSNSAction.Builder avoiding the need to create
one manually via SNSAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to snsAction(SNSAction).snsAction - a consumer that will call methods on SNSAction.BuildersnsAction(SNSAction)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.