Interface NetworkPath.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkPath.Builder,NetworkPath>,SdkBuilder<NetworkPath.Builder,NetworkPath>,SdkPojo
- Enclosing class:
- NetworkPath
public static interface NetworkPath.Builder extends SdkPojo, CopyableBuilder<NetworkPath.Builder,NetworkPath>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkPath.Buildersteps(Collection<Step> steps)The details on the steps in the network path.NetworkPath.Buildersteps(Consumer<Step.Builder>... steps)The details on the steps in the network path.NetworkPath.Buildersteps(Step... steps)The details on the steps in the network path.-
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
-
steps
NetworkPath.Builder steps(Collection<Step> steps)
The details on the steps in the network path.
- Parameters:
steps- The details on the steps in the network path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
NetworkPath.Builder steps(Step... steps)
The details on the steps in the network path.
- Parameters:
steps- The details on the steps in the network path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
NetworkPath.Builder steps(Consumer<Step.Builder>... steps)
The details on the steps in the network path.
This is a convenience method that creates an instance of theStep.Builderavoiding the need to create one manually viaStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - Parameters:
steps- a consumer that will call methods onStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection)
-
-