Interface RelayAction.Builder

  • Method Details

    • 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

      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:
    • 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.

      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

      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.

      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.