Class CreateReceiptRuleRequest

    • Method Detail

      • ruleSetName

        public final String ruleSetName()

        The name of the rule set where the receipt rule is added.

        Returns:
        The name of the rule set where the receipt rule is added.
      • after

        public final String after()

        The name of an existing rule after which the new rule is placed. If this parameter is null, the new rule is inserted at the beginning of the rule list.

        Returns:
        The name of an existing rule after which the new rule is placed. If this parameter is null, the new rule is inserted at the beginning of the rule list.
      • rule

        public final ReceiptRule rule()

        A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.

        Returns:
        A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object