Interface ReceiptFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>, SdkBuilder<ReceiptFilter.Builder,ReceiptFilter>, SdkPojo
Enclosing class:
ReceiptFilter

public static interface ReceiptFilter.Builder extends SdkPojo, CopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
  • Method Details

    • name

      The name of the IP address filter. The name must meet the following requirements:

      • Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

      • Start and end with a letter or number.

      • Contain 64 characters or fewer.

      Parameters:
      name - The name of the IP address filter. The name must meet the following requirements:

      • Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).

      • Start and end with a letter or number.

      • Contain 64 characters or fewer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipFilter

      A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

      Parameters:
      ipFilter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipFilter

      A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.

      This is a convenience method that creates an instance of the ReceiptIpFilter.Builder avoiding the need to create one manually via ReceiptIpFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ipFilter(ReceiptIpFilter).

      Parameters:
      ipFilter - a consumer that will call methods on ReceiptIpFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: