Interface PathFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PathFilter.Builder,,PathFilter> SdkBuilder<PathFilter.Builder,,PathFilter> SdkPojo
- Enclosing class:
- PathFilter
@Mutable
@NotThreadSafe
public static interface PathFilter.Builder
extends SdkPojo, CopyableBuilder<PathFilter.Builder,PathFilter>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationAddress(String destinationAddress) The destination IPv4 address.default PathFilter.BuilderdestinationPortRange(Consumer<FilterPortRange.Builder> destinationPortRange) The destination port range.destinationPortRange(FilterPortRange destinationPortRange) The destination port range.sourceAddress(String sourceAddress) The source IPv4 address.default PathFilter.BuildersourcePortRange(Consumer<FilterPortRange.Builder> sourcePortRange) The source port range.sourcePortRange(FilterPortRange sourcePortRange) The source port range.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
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
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:
-