@Generated(value="software.amazon.awssdk:codegen") public final class ReceiptAction extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
WorkmailAction |
workmailAction()
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3Action s3Action()
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
public final 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 final WorkmailAction workmailAction()
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
public final LambdaAction lambdaAction()
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
public final StopAction stopAction()
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
public final AddHeaderAction addHeaderAction()
Adds a header to the received email.
public final SNSAction snsAction()
Publishes the email content within a notification to Amazon SNS.
public ReceiptAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReceiptAction.Builder,ReceiptAction>public static ReceiptAction.Builder builder()
public static Class<? extends ReceiptAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.