Interface PathFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PathFilter.Builder,PathFilter>,SdkBuilder<PathFilter.Builder,PathFilter>,SdkPojo
- Enclosing class:
- PathFilter
public static interface PathFilter.Builder extends SdkPojo, CopyableBuilder<PathFilter.Builder,PathFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PathFilter.BuilderdestinationAddress(String destinationAddress)The destination IPv4 address.default PathFilter.BuilderdestinationPortRange(Consumer<FilterPortRange.Builder> destinationPortRange)The destination port range.PathFilter.BuilderdestinationPortRange(FilterPortRange destinationPortRange)The destination port range.PathFilter.BuildersourceAddress(String sourceAddress)The source IPv4 address.default PathFilter.BuildersourcePortRange(Consumer<FilterPortRange.Builder> sourcePortRange)The source port range.PathFilter.BuildersourcePortRange(FilterPortRange sourcePortRange)The source port range.-
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 Detail
-
sourceAddress
PathFilter.Builder sourceAddress(String sourceAddress)
The source IPv4 address.
- Parameters:
sourceAddress- The source IPv4 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
PathFilter.Builder sourcePortRange(FilterPortRange sourcePortRange)
The source port range.
- Parameters:
sourcePortRange- The source port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
default PathFilter.Builder sourcePortRange(Consumer<FilterPortRange.Builder> sourcePortRange)
The source port range.
This is a convenience method that creates an instance of theFilterPortRange.Builderavoiding the need to create one manually viaFilterPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourcePortRange(FilterPortRange).- Parameters:
sourcePortRange- a consumer that will call methods onFilterPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourcePortRange(FilterPortRange)
-
destinationAddress
PathFilter.Builder destinationAddress(String destinationAddress)
The destination IPv4 address.
- Parameters:
destinationAddress- The destination IPv4 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
PathFilter.Builder destinationPortRange(FilterPortRange destinationPortRange)
The destination port range.
- Parameters:
destinationPortRange- The destination port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
default PathFilter.Builder destinationPortRange(Consumer<FilterPortRange.Builder> destinationPortRange)
The destination port range.
This is a convenience method that creates an instance of theFilterPortRange.Builderavoiding the need to create one manually viaFilterPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationPortRange(FilterPortRange).- Parameters:
destinationPortRange- a consumer that will call methods onFilterPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destinationPortRange(FilterPortRange)
-
-