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
Modifier and TypeMethodDescriptionsteps
(Collection<Step> steps) The details on the steps in the network path.steps
(Consumer<Step.Builder>... steps) The details on the steps in the network path.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 Details
-
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
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
The details on the steps in the network path.
This is a convenience method that creates an instance of theStep.Builder
avoiding the need to create one manually viaStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<Step>)
.- 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:
-