Interface RelayAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelayAction.Builder,RelayAction>,SdkBuilder<RelayAction.Builder,RelayAction>,SdkPojo
- Enclosing class:
- RelayAction
public static interface RelayAction.Builder extends SdkPojo, CopyableBuilder<RelayAction.Builder,RelayAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelayAction.BuilderactionFailurePolicy(String actionFailurePolicy)A policy that states what to do in the case of failure.RelayAction.BuilderactionFailurePolicy(ActionFailurePolicy actionFailurePolicy)A policy that states what to do in the case of failure.RelayAction.BuildermailFrom(String mailFrom)This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.RelayAction.BuildermailFrom(MailFrom mailFrom)This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.RelayAction.Builderrelay(String relay)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, sdkFields
-
-
-
-
Method Detail
-
actionFailurePolicy
RelayAction.Builder actionFailurePolicy(String 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,ActionFailurePolicy
-
actionFailurePolicy
RelayAction.Builder actionFailurePolicy(ActionFailurePolicy 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,ActionFailurePolicy
-
mailFrom
RelayAction.Builder mailFrom(String mailFrom)
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
-
mailFrom
RelayAction.Builder mailFrom(MailFrom mailFrom)
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
-
relay
RelayAction.Builder relay(String 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.
-
-