Interface RelayAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RelayAction.Builder,
,RelayAction> SdkBuilder<RelayAction.Builder,
,RelayAction> SdkPojo
- Enclosing class:
RelayAction
@Mutable
@NotThreadSafe
public static interface RelayAction.Builder
extends SdkPojo, CopyableBuilder<RelayAction.Builder,RelayAction>
-
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy
(String actionFailurePolicy) A policy that states what to do in the case of failure.actionFailurePolicy
(ActionFailurePolicy actionFailurePolicy) A policy that states what to do in the case of failure.This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.The identifier of the relay resource to be used when relaying an email.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
actionFailurePolicy
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.
- Parameters:
actionFailurePolicy
- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionFailurePolicy
A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.
- Parameters:
actionFailurePolicy
- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified relay has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mailFrom
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
- Parameters:
mailFrom
- This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mailFrom
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
- Parameters:
mailFrom
- This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relay
The identifier of the relay resource to be used when relaying an email.
- Parameters:
relay
- The identifier of the relay resource to be used when relaying an email.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-