Interface RouteAvoidanceArea.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteAvoidanceArea.Builder,
,RouteAvoidanceArea> SdkBuilder<RouteAvoidanceArea.Builder,
,RouteAvoidanceArea> SdkPojo
- Enclosing class:
RouteAvoidanceArea
@Mutable
@NotThreadSafe
public static interface RouteAvoidanceArea.Builder
extends SdkPojo, CopyableBuilder<RouteAvoidanceArea.Builder,RouteAvoidanceArea>
-
Method Summary
Modifier and TypeMethodDescriptionexcept
(Collection<RouteAvoidanceAreaGeometry> except) Exceptions to the provided avoidance geometry, to be included while calculating the route.except
(Consumer<RouteAvoidanceAreaGeometry.Builder>... except) Exceptions to the provided avoidance geometry, to be included while calculating the route.except
(RouteAvoidanceAreaGeometry... except) Exceptions to the provided avoidance geometry, to be included while calculating the route.default RouteAvoidanceArea.Builder
geometry
(Consumer<RouteAvoidanceAreaGeometry.Builder> geometry) Sets the value of the Geometry property for this object.geometry
(RouteAvoidanceAreaGeometry geometry) Sets the value of the Geometry property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
except
Exceptions to the provided avoidance geometry, to be included while calculating the route.
- Parameters:
except
- Exceptions to the provided avoidance geometry, to be included while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
except
Exceptions to the provided avoidance geometry, to be included while calculating the route.
- Parameters:
except
- Exceptions to the provided avoidance geometry, to be included while calculating the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
except
Exceptions to the provided avoidance geometry, to be included while calculating the route.
This is a convenience method that creates an instance of theRouteAvoidanceAreaGeometry.Builder
avoiding the need to create one manually viaRouteAvoidanceAreaGeometry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcept(List<RouteAvoidanceAreaGeometry>)
.- Parameters:
except
- a consumer that will call methods onRouteAvoidanceAreaGeometry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
geometry
Sets the value of the Geometry property for this object.- Parameters:
geometry
- The new value for the Geometry property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
Sets the value of the Geometry property for this object. This is a convenience method that creates an instance of theRouteAvoidanceAreaGeometry.Builder
avoiding the need to create one manually viaRouteAvoidanceAreaGeometry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeometry(RouteAvoidanceAreaGeometry)
.- Parameters:
geometry
- a consumer that will call methods onRouteAvoidanceAreaGeometry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-