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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReceiptFilter.BuilderipFilter(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.BuilderipFilter(ReceiptIpFilter ipFilter)A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.ReceiptFilter.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ReceiptFilter.Builder name(String 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
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.
- 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
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.Builderavoiding the need to create one manually viaReceiptIpFilter.builder().When the
Consumercompletes,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:
ipFilter(ReceiptIpFilter)
-
-