@Generated(value="software.amazon.awssdk:codegen") public final class ReceiptAction extends Object implements ToCopyableBuilder<ReceiptAction.Builder,ReceiptAction>
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
ReceiptAction.Builder |
Modifier and Type | Method and Description |
---|---|
AddHeaderAction |
addHeaderAction()
Adds a header to the received email.
|
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).
|
static ReceiptAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LambdaAction |
lambdaAction()
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
|
S3Action |
s3Action()
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a
notification to Amazon SNS.
|
static Class<? extends ReceiptAction.Builder> |
serializableBuilderClass() |
SNSAction |
snsAction()
Publishes the email content within a notification to Amazon SNS.
|
StopAction |
stopAction()
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
|
ReceiptAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
WorkmailAction |
workmailAction()
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
|
copy
public S3Action s3Action()
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
public 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).
public WorkmailAction workmailAction()
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon SNS.
public LambdaAction lambdaAction()
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
public StopAction stopAction()
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
public AddHeaderAction addHeaderAction()
Adds a header to the received email.
public SNSAction snsAction()
Publishes the email content within a notification to Amazon SNS.
public ReceiptAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReceiptAction.Builder,ReceiptAction>
public static ReceiptAction.Builder builder()
public static Class<? extends ReceiptAction.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.