Interface RouteAnalysisPath.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteAnalysisPath.Builder,
,RouteAnalysisPath> SdkBuilder<RouteAnalysisPath.Builder,
,RouteAnalysisPath> SdkPojo
- Enclosing class:
RouteAnalysisPath
public static interface RouteAnalysisPath.Builder
extends SdkPojo, CopyableBuilder<RouteAnalysisPath.Builder,RouteAnalysisPath>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteAnalysisPath.Builder
completionStatus
(Consumer<RouteAnalysisCompletion.Builder> completionStatus) The status of the analysis at completion.completionStatus
(RouteAnalysisCompletion completionStatus) The status of the analysis at completion.path
(Collection<PathComponent> path) The route analysis path.path
(Consumer<PathComponent.Builder>... path) The route analysis path.path
(PathComponent... path) The route analysis 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
-
completionStatus
The status of the analysis at completion.
- Parameters:
completionStatus
- The status of the analysis at completion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionStatus
default RouteAnalysisPath.Builder completionStatus(Consumer<RouteAnalysisCompletion.Builder> completionStatus) The status of the analysis at completion.
This is a convenience method that creates an instance of theRouteAnalysisCompletion.Builder
avoiding the need to create one manually viaRouteAnalysisCompletion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompletionStatus(RouteAnalysisCompletion)
.- Parameters:
completionStatus
- a consumer that will call methods onRouteAnalysisCompletion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
path
The route analysis path.
- Parameters:
path
- The route analysis path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The route analysis path.
- Parameters:
path
- The route analysis path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The route analysis path.
This is a convenience method that creates an instance of thePathComponent.Builder
avoiding the need to create one manually viaPathComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topath(List<PathComponent>)
.- Parameters:
path
- a consumer that will call methods onPathComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-