public static interface ReceiptFilter.Builder extends SdkPojo, CopyableBuilder<ReceiptFilter.Builder,ReceiptFilter>
| Modifier and Type | Method and Description |
|---|---|
default ReceiptFilter.Builder |
ipFilter(Consumer<ReceiptIpFilter.Builder> ipFilter)
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail
from them.
|
ReceiptFilter.Builder |
ipFilter(ReceiptIpFilter ipFilter)
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail
from them.
|
ReceiptFilter.Builder |
name(String name)
The name of the IP address filter.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReceiptFilter.Builder name(String name)
The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
name - The name of the IP address filter. The name must:
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
Start and end with a letter or number.
Contain less than 64 characters.
ReceiptFilter.Builder ipFilter(ReceiptIpFilter ipFilter)
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
ipFilter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming
mail from them.default ReceiptFilter.Builder ipFilter(Consumer<ReceiptIpFilter.Builder> 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 theReceiptIpFilter.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).
ipFilter - a consumer that will call methods on ReceiptIpFilter.BuilderipFilter(ReceiptIpFilter)Copyright © 2022. All rights reserved.