Interface IsolineAvoidanceArea.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineAvoidanceArea.Builder,,IsolineAvoidanceArea> SdkBuilder<IsolineAvoidanceArea.Builder,,IsolineAvoidanceArea> SdkPojo
- Enclosing class:
IsolineAvoidanceArea
-
Method Summary
Modifier and TypeMethodDescriptionexcept(Collection<IsolineAvoidanceAreaGeometry> except) Areas within the primary avoidance geometry where travel is allowed.except(Consumer<IsolineAvoidanceAreaGeometry.Builder>... except) Areas within the primary avoidance geometry where travel is allowed.except(IsolineAvoidanceAreaGeometry... except) Areas within the primary avoidance geometry where travel is allowed.default IsolineAvoidanceArea.Buildergeometry(Consumer<IsolineAvoidanceAreaGeometry.Builder> geometry) The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.geometry(IsolineAvoidanceAreaGeometry geometry) The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.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
-
except
Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.
- Parameters:
except- Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
except
Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.
- Parameters:
except- Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
except
Areas within the primary avoidance geometry where travel is allowed. For example, you might want to avoid a neighborhood but allow travel on a major road that passes through it.
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 toexcept(List<IsolineAvoidanceAreaGeometry>).- 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:
-
geometry
The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.
- Parameters:
geometry- The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geometry
default IsolineAvoidanceArea.Builder geometry(Consumer<IsolineAvoidanceAreaGeometry.Builder> geometry) The primary area to avoid, specified using a bounding box, corridor, polygon, or polyline corridor.
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:
-