JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.simpleemail.model

Class CreateReceiptRuleRequest

    • Constructor Detail

      • CreateReceiptRuleRequest

        public CreateReceiptRuleRequest()
    • Method Detail

      • setRuleSetName

        public void setRuleSetName(String ruleSetName)

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

        Parameters:
        ruleSetName - The name of the rule set where the receipt rule is added.
      • getRuleSetName

        public String getRuleSetName()

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

        public CreateReceiptRuleRequest withRuleSetName(String ruleSetName)

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

        Parameters:
        ruleSetName - The name of the rule set where the receipt rule is added.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAfter

        public void setAfter(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.

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

        public String getAfter()

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

        public CreateReceiptRuleRequest withAfter(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • setRule

        public void setRule(ReceiptRule rule)

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

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

        public ReceiptRule getRule()

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

        public CreateReceiptRuleRequest withRule(ReceiptRule rule)

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

        Parameters:
        rule - A data structure that contains the specified rule's name, actions, recipients, domains, enabled status, scan status, and TLS policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /