Interface PolicyStatement.Builder

    • Method Detail

      • action

        PolicyStatement.Builder action​(String action)

        The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

        Parameters:
        action - The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • action

        PolicyStatement.Builder action​(AcceptAction action)

        The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

        Parameters:
        action - The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • conditions

        PolicyStatement.Builder conditions​(Collection<PolicyCondition> conditions)

        The list of conditions to apply to incoming messages for filtering email traffic.

        Parameters:
        conditions - The list of conditions to apply to incoming messages for filtering email traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conditions

        PolicyStatement.Builder conditions​(PolicyCondition... conditions)

        The list of conditions to apply to incoming messages for filtering email traffic.

        Parameters:
        conditions - The list of conditions to apply to incoming messages for filtering email traffic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.