Class CfnReceiptRule.Builder

java.lang.Object
software.amazon.awscdk.services.ses.CfnReceiptRule.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReceiptRule>
Enclosing class:
CfnReceiptRule

@Stability(Stable) public static final class CfnReceiptRule.Builder extends Object implements software.amazon.jsii.Builder<CfnReceiptRule>
A fluent builder for CfnReceiptRule.
  • Method Details

    • create

      @Stability(Stable) public static CfnReceiptRule.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnReceiptRule.Builder.
    • rule

      @Stability(Stable) public CfnReceiptRule.Builder rule(IResolvable 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. This parameter is required.
      Returns:
      this
    • rule

      @Stability(Stable) public CfnReceiptRule.Builder rule(CfnReceiptRule.RuleProperty 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. This parameter is required.
      Returns:
      this
    • ruleSetName

      @Stability(Stable) public CfnReceiptRule.Builder ruleSetName(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. This parameter is required.
      Returns:
      this
    • after

      @Stability(Stable) public CfnReceiptRule.Builder after(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. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnReceiptRule build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnReceiptRule>
      Returns:
      a newly built instance of CfnReceiptRule.