Interface WaypointOptimizationAvoidanceArea.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WaypointOptimizationAvoidanceArea.Builder,
,WaypointOptimizationAvoidanceArea> SdkBuilder<WaypointOptimizationAvoidanceArea.Builder,
,WaypointOptimizationAvoidanceArea> SdkPojo
- Enclosing class:
WaypointOptimizationAvoidanceArea
@Mutable
@NotThreadSafe
public static interface WaypointOptimizationAvoidanceArea.Builder
extends SdkPojo, CopyableBuilder<WaypointOptimizationAvoidanceArea.Builder,WaypointOptimizationAvoidanceArea>
-
Method Summary
Modifier and TypeMethodDescriptionGeometry of the area to be avoided.Geometry of the area to be avoided.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
-
geometry
WaypointOptimizationAvoidanceArea.Builder geometry(WaypointOptimizationAvoidanceAreaGeometry 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 WaypointOptimizationAvoidanceArea.Builder geometry(Consumer<WaypointOptimizationAvoidanceAreaGeometry.Builder> geometry) Geometry of the area to be avoided.
This is a convenience method that creates an instance of theWaypointOptimizationAvoidanceAreaGeometry.Builder
avoiding the need to create one manually viaWaypointOptimizationAvoidanceAreaGeometry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeometry(WaypointOptimizationAvoidanceAreaGeometry)
.- Parameters:
geometry
- a consumer that will call methods onWaypointOptimizationAvoidanceAreaGeometry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-