Class CfnReceiptFilter.Builder

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

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

    • create

      @Stability(Stable) public static CfnReceiptFilter.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 CfnReceiptFilter.Builder.
    • filter

      @Stability(Stable) public CfnReceiptFilter.Builder filter(IResolvable filter)
      A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

      Parameters:
      filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. This parameter is required.
      Returns:
      this
    • filter

      @Stability(Stable) public CfnReceiptFilter.Builder filter(CfnReceiptFilter.FilterProperty filter)
      A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.

      Parameters:
      filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it. This parameter is required.
      Returns:
      this
    • build

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