Interface ReceiptFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReceiptFilter.Builder,
,ReceiptFilter> SdkBuilder<ReceiptFilter.Builder,
,ReceiptFilter> SdkPojo
- Enclosing class:
ReceiptFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.ipFilter
(ReceiptIpFilter ipFilter) A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.The name of the IP address filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theReceiptIpFilter.Builder
avoiding the need to create one manually viaReceiptIpFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipFilter(ReceiptIpFilter)
.- Parameters:
ipFilter
- a consumer that will call methods onReceiptIpFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-