Interface RouteAvoidanceArea.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteAvoidanceArea.Builder,RouteAvoidanceArea>,SdkBuilder<RouteAvoidanceArea.Builder,RouteAvoidanceArea>,SdkPojo
- Enclosing class:
- RouteAvoidanceArea
public static interface RouteAvoidanceArea.Builder extends SdkPojo, CopyableBuilder<RouteAvoidanceArea.Builder,RouteAvoidanceArea>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RouteAvoidanceArea.Builderexcept(Collection<RouteAvoidanceAreaGeometry> except)Exceptions to the provided avoidance geometry, to be included while calculating the route.RouteAvoidanceArea.Builderexcept(Consumer<RouteAvoidanceAreaGeometry.Builder>... except)Exceptions to the provided avoidance geometry, to be included while calculating the route.RouteAvoidanceArea.Builderexcept(RouteAvoidanceAreaGeometry... except)Exceptions to the provided avoidance geometry, to be included while calculating the route.default RouteAvoidanceArea.Buildergeometry(Consumer<RouteAvoidanceAreaGeometry.Builder> geometry)Sets the value of the Geometry property for this object.RouteAvoidanceArea.Buildergeometry(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 Detail
-
except
RouteAvoidanceArea.Builder except(Collection<RouteAvoidanceAreaGeometry> 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
RouteAvoidanceArea.Builder except(RouteAvoidanceAreaGeometry... 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
RouteAvoidanceArea.Builder except(Consumer<RouteAvoidanceAreaGeometry.Builder>... 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.Builderavoiding the need to create one manually viaRouteAvoidanceAreaGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#except(List.) - 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:
#except(java.util.Collection)
-
geometry
RouteAvoidanceArea.Builder geometry(RouteAvoidanceAreaGeometry 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
default RouteAvoidanceArea.Builder geometry(Consumer<RouteAvoidanceAreaGeometry.Builder> geometry)
Sets the value of the Geometry property for this object. This is a convenience method that creates an instance of theRouteAvoidanceAreaGeometry.Builderavoiding the need to create one manually viaRouteAvoidanceAreaGeometry.builder().When the
Consumercompletes,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:
geometry(RouteAvoidanceAreaGeometry)
-
-