Interface IsolineAvoidanceArea.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineAvoidanceArea.Builder,IsolineAvoidanceArea>,SdkBuilder<IsolineAvoidanceArea.Builder,IsolineAvoidanceArea>,SdkPojo
- Enclosing class:
- IsolineAvoidanceArea
public static interface IsolineAvoidanceArea.Builder extends SdkPojo, CopyableBuilder<IsolineAvoidanceArea.Builder,IsolineAvoidanceArea>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsolineAvoidanceArea.Builderexcept(Collection<IsolineAvoidanceAreaGeometry> except)Exceptions to the provided avoidance geometry, to be included while calculating the route.IsolineAvoidanceArea.Builderexcept(Consumer<IsolineAvoidanceAreaGeometry.Builder>... except)Exceptions to the provided avoidance geometry, to be included while calculating the route.IsolineAvoidanceArea.Builderexcept(IsolineAvoidanceAreaGeometry... except)Exceptions to the provided avoidance geometry, to be included while calculating the route.default IsolineAvoidanceArea.Buildergeometry(Consumer<IsolineAvoidanceAreaGeometry.Builder> geometry)Geometry of the area to be avoided.IsolineAvoidanceArea.Buildergeometry(IsolineAvoidanceAreaGeometry geometry)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 Detail
-
except
IsolineAvoidanceArea.Builder except(Collection<IsolineAvoidanceAreaGeometry> 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
IsolineAvoidanceArea.Builder except(IsolineAvoidanceAreaGeometry... 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
IsolineAvoidanceArea.Builder except(Consumer<IsolineAvoidanceAreaGeometry.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 theIsolineAvoidanceAreaGeometry.Builderavoiding the need to create one manually viaIsolineAvoidanceAreaGeometry.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 onIsolineAvoidanceAreaGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#except(java.util.Collection)
-
geometry
IsolineAvoidanceArea.Builder geometry(IsolineAvoidanceAreaGeometry 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 IsolineAvoidanceArea.Builder geometry(Consumer<IsolineAvoidanceAreaGeometry.Builder> geometry)
Geometry of the area to be avoided.
This is a convenience method that creates an instance of theIsolineAvoidanceAreaGeometry.Builderavoiding the need to create one manually viaIsolineAvoidanceAreaGeometry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeometry(IsolineAvoidanceAreaGeometry).- Parameters:
geometry- a consumer that will call methods onIsolineAvoidanceAreaGeometry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
geometry(IsolineAvoidanceAreaGeometry)
-
-