Class ReceiptAction
- All Implemented Interfaces:
Serializable,SdkPojo,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AddHeaderActionAdds a header to the received email.final BounceActionRejects 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.Builderbuilder()final ConnectActionParses the received message and starts an email contact in Amazon Connect on your behalf.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LambdaActionCalls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.final S3Actions3Action()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>final SNSActionPublishes the email content within a notification to Amazon SNS.final StopActionTerminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.final StringtoString()Returns a string representation of this object.final WorkmailActionCalls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
s3Action
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- Returns:
- Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to 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).
- Returns:
- Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
-
workmailAction
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- Returns:
- Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
-
lambdaAction
Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.
- Returns:
- Calls an Amazon Web Services Lambda function, 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.
- Returns:
- Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
-
addHeaderAction
Adds a header to the received email.
- Returns:
- Adds a header to the received email.
-
snsAction
Publishes the email content within a notification to Amazon SNS.
- Returns:
- Publishes the email content within a notification to Amazon SNS.
-
connectAction
Parses the received message and starts an email contact in Amazon Connect on your behalf.
- Returns:
- Parses the received message and starts an email contact in Amazon Connect on your behalf.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReceiptAction.Builder,ReceiptAction>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-