Interface RouteAnalysisPath.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteAnalysisPath.Builder,,RouteAnalysisPath> SdkBuilder<RouteAnalysisPath.Builder,,RouteAnalysisPath> SdkPojo
- Enclosing class:
RouteAnalysisPath
@Mutable
@NotThreadSafe
public static interface RouteAnalysisPath.Builder
extends SdkPojo, CopyableBuilder<RouteAnalysisPath.Builder,RouteAnalysisPath>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteAnalysisPath.BuildercompletionStatus(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
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
-
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.Builderavoiding the need to create one manually viaRouteAnalysisCompletion.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaPathComponent.builder().When the
Consumercompletes,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:
-