Interface ReceiptAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReceiptAction.Builder,,ReceiptAction> SdkBuilder<ReceiptAction.Builder,,ReceiptAction> SdkPojo
- Enclosing class:
ReceiptAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReceiptAction.BuilderaddHeaderAction(Consumer<AddHeaderAction.Builder> addHeaderAction) Adds a header to the received email.addHeaderAction(AddHeaderAction addHeaderAction) Adds a header to the received email.default ReceiptAction.BuilderbounceAction(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).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.BuilderconnectAction(Consumer<ConnectAction.Builder> connectAction) Parses the received message and starts an email contact in Amazon Connect on your behalf.connectAction(ConnectAction connectAction) Parses the received message and starts an email contact in Amazon Connect on your behalf.default ReceiptAction.BuilderlambdaAction(Consumer<LambdaAction.Builder> lambdaAction) Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.lambdaAction(LambdaAction lambdaAction) Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.default ReceiptAction.Builders3Action(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.Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.default ReceiptAction.BuildersnsAction(Consumer<SNSAction.Builder> snsAction) Publishes the email content within a notification to Amazon SNS.Publishes the email content within a notification to Amazon SNS.default ReceiptAction.BuilderstopAction(Consumer<StopAction.Builder> stopAction) Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.stopAction(StopAction stopAction) Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.default ReceiptAction.BuilderworkmailAction(Consumer<WorkmailAction.Builder> workmailAction) Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.workmailAction(WorkmailAction workmailAction) Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3Action
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- Parameters:
s3Action- Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theS3Action.Builderavoiding the need to create one manually viaS3Action.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Action(S3Action).- Parameters:
s3Action- a consumer that will call methods onS3Action.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theBounceAction.Builderavoiding the need to create one manually viaBounceAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobounceAction(BounceAction).- Parameters:
bounceAction- a consumer that will call methods onBounceAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workmailAction
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- Parameters:
workmailAction- Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workmailAction
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
This is a convenience method that creates an instance of theWorkmailAction.Builderavoiding the need to create one manually viaWorkmailAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkmailAction(WorkmailAction).- Parameters:
workmailAction- a consumer that will call methods onWorkmailAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaAction
Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.
- Parameters:
lambdaAction- Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaAction
Calls an Amazon Web Services Lambda function, and optionally, publishes a notification to Amazon SNS.
This is a convenience method that creates an instance of theLambdaAction.Builderavoiding the need to create one manually viaLambdaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaAction(LambdaAction).- Parameters:
lambdaAction- a consumer that will call methods onLambdaAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stopAction
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- Parameters:
stopAction- Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopAction
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
This is a convenience method that creates an instance of theStopAction.Builderavoiding the need to create one manually viaStopAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostopAction(StopAction).- Parameters:
stopAction- a consumer that will call methods onStopAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addHeaderAction
Adds a header to the received email.
- Parameters:
addHeaderAction- Adds a header to the received email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addHeaderAction
Adds a header to the received email.
This is a convenience method that creates an instance of theAddHeaderAction.Builderavoiding the need to create one manually viaAddHeaderAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddHeaderAction(AddHeaderAction).- Parameters:
addHeaderAction- a consumer that will call methods onAddHeaderAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snsAction
Publishes the email content within a notification to Amazon SNS.
- Parameters:
snsAction- Publishes the email content within a notification to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsAction
Publishes the email content within a notification to Amazon SNS.
This is a convenience method that creates an instance of theSNSAction.Builderavoiding the need to create one manually viaSNSAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnsAction(SNSAction).- Parameters:
snsAction- a consumer that will call methods onSNSAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectAction
Parses the received message and starts an email contact in Amazon Connect on your behalf.
- Parameters:
connectAction- Parses the received message and starts an email contact in Amazon Connect on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectAction
Parses the received message and starts an email contact in Amazon Connect on your behalf.
This is a convenience method that creates an instance of theConnectAction.Builderavoiding the need to create one manually viaConnectAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectAction(ConnectAction).- Parameters:
connectAction- a consumer that will call methods onConnectAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-