Interface NetworkPathComponentDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkPathComponentDetails.Builder,NetworkPathComponentDetails>,SdkBuilder<NetworkPathComponentDetails.Builder,NetworkPathComponentDetails>,SdkPojo
- Enclosing class:
- NetworkPathComponentDetails
public static interface NetworkPathComponentDetails.Builder extends SdkPojo, CopyableBuilder<NetworkPathComponentDetails.Builder,NetworkPathComponentDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkPathComponentDetails.Builderaddress(String... address)The IP addresses of the destination.NetworkPathComponentDetails.Builderaddress(Collection<String> address)The IP addresses of the destination.NetworkPathComponentDetails.BuilderportRanges(Collection<PortRange> portRanges)A list of port ranges for the destination.NetworkPathComponentDetails.BuilderportRanges(Consumer<PortRange.Builder>... portRanges)A list of port ranges for the destination.NetworkPathComponentDetails.BuilderportRanges(PortRange... portRanges)A list of port ranges for the destination.-
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
-
address
NetworkPathComponentDetails.Builder address(Collection<String> address)
The IP addresses of the destination.
- Parameters:
address- The IP addresses of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
NetworkPathComponentDetails.Builder address(String... address)
The IP addresses of the destination.
- Parameters:
address- The IP addresses of the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
NetworkPathComponentDetails.Builder portRanges(Collection<PortRange> portRanges)
A list of port ranges for the destination.
- Parameters:
portRanges- A list of port ranges for the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
NetworkPathComponentDetails.Builder portRanges(PortRange... portRanges)
A list of port ranges for the destination.
- Parameters:
portRanges- A list of port ranges for the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
NetworkPathComponentDetails.Builder portRanges(Consumer<PortRange.Builder>... portRanges)
A list of port ranges for the destination.
This is a convenience method that creates an instance of thePortRange.Builderavoiding the need to create one manually viaPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#portRanges(List.) - Parameters:
portRanges- a consumer that will call methods onPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#portRanges(java.util.Collection)
-
-