Interface RouteMatrixBoundary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteMatrixBoundary.Builder,,RouteMatrixBoundary> SdkBuilder<RouteMatrixBoundary.Builder,,RouteMatrixBoundary> SdkPojo
- Enclosing class:
RouteMatrixBoundary
@Mutable
@NotThreadSafe
public static interface RouteMatrixBoundary.Builder
extends SdkPojo, CopyableBuilder<RouteMatrixBoundary.Builder,RouteMatrixBoundary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RouteMatrixBoundary.Buildergeometry(Consumer<RouteMatrixBoundaryGeometry.Builder> geometry) Geometry of the area to be avoided.geometry(RouteMatrixBoundaryGeometry geometry) Geometry of the area to be avoided.No restrictions in terms of a routing boundary, and is typically used for longer routes.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
-
geometry
Geometry of the area to be avoided.
- Parameters:
geometry- Geometry of the area to be avoided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
default RouteMatrixBoundary.Builder geometry(Consumer<RouteMatrixBoundaryGeometry.Builder> geometry) Geometry of the area to be avoided.
This is a convenience method that creates an instance of theRouteMatrixBoundaryGeometry.Builderavoiding the need to create one manually viaRouteMatrixBoundaryGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeometry(RouteMatrixBoundaryGeometry).- Parameters:
geometry- a consumer that will call methods onRouteMatrixBoundaryGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unbounded
No restrictions in terms of a routing boundary, and is typically used for longer routes.
- Parameters:
unbounded- No restrictions in terms of a routing boundary, and is typically used for longer routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-