public static interface ReceiptFilter.Builder extends 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.
|
copyapply, buildReceiptFilter.Builder name(String name)
The name of the IP address filter. The name must:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), 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:
Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), 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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.