Interface UpdateTrafficPolicyRequest.Builder

    • Method Detail

      • defaultAction

        UpdateTrafficPolicyRequest.Builder defaultAction​(String defaultAction)

        Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

        Parameters:
        defaultAction - Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • defaultAction

        UpdateTrafficPolicyRequest.Builder defaultAction​(AcceptAction defaultAction)

        Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

        Parameters:
        defaultAction - Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • maxMessageSizeBytes

        UpdateTrafficPolicyRequest.Builder maxMessageSizeBytes​(Integer maxMessageSizeBytes)

        The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

        Parameters:
        maxMessageSizeBytes - The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyStatements

        UpdateTrafficPolicyRequest.Builder policyStatements​(Collection<PolicyStatement> policyStatements)

        The list of conditions to be updated for filtering email traffic.

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

        UpdateTrafficPolicyRequest.Builder policyStatements​(PolicyStatement... policyStatements)

        The list of conditions to be updated for filtering email traffic.

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

        UpdateTrafficPolicyRequest.Builder trafficPolicyId​(String trafficPolicyId)

        The identifier of the traffic policy that you want to update.

        Parameters:
        trafficPolicyId - The identifier of the traffic policy that you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficPolicyName

        UpdateTrafficPolicyRequest.Builder trafficPolicyName​(String trafficPolicyName)

        A user-friendly name for the traffic policy resource.

        Parameters:
        trafficPolicyName - A user-friendly name for the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.