Interface IsolineAvoidanceAreaGeometry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IsolineAvoidanceAreaGeometry.Builder,IsolineAvoidanceAreaGeometry>,SdkBuilder<IsolineAvoidanceAreaGeometry.Builder,IsolineAvoidanceAreaGeometry>,SdkPojo
- Enclosing class:
- IsolineAvoidanceAreaGeometry
public static interface IsolineAvoidanceAreaGeometry.Builder extends SdkPojo, CopyableBuilder<IsolineAvoidanceAreaGeometry.Builder,IsolineAvoidanceAreaGeometry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsolineAvoidanceAreaGeometry.BuilderboundingBox(Double... boundingBox)Geometry defined as a bounding box.IsolineAvoidanceAreaGeometry.BuilderboundingBox(Collection<Double> boundingBox)Geometry defined as a bounding box.default IsolineAvoidanceAreaGeometry.Buildercorridor(Consumer<Corridor.Builder> corridor)Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.IsolineAvoidanceAreaGeometry.Buildercorridor(Corridor corridor)Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.IsolineAvoidanceAreaGeometry.Builderpolygon(Collection<? extends Collection<? extends Collection<Double>>> polygon)A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.IsolineAvoidanceAreaGeometry.Builderpolygon(Collection<? extends Collection<Double>>... polygon)A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.default IsolineAvoidanceAreaGeometry.BuilderpolylineCorridor(Consumer<PolylineCorridor.Builder> polylineCorridor)Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor.IsolineAvoidanceAreaGeometry.BuilderpolylineCorridor(PolylineCorridor polylineCorridor)Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor.IsolineAvoidanceAreaGeometry.BuilderpolylinePolygon(String... polylinePolygon)A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon.IsolineAvoidanceAreaGeometry.BuilderpolylinePolygon(Collection<String> polylinePolygon)A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon.-
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
-
boundingBox
IsolineAvoidanceAreaGeometry.Builder boundingBox(Collection<Double> boundingBox)
Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
- Parameters:
boundingBox- Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
IsolineAvoidanceAreaGeometry.Builder boundingBox(Double... boundingBox)
Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
- Parameters:
boundingBox- Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
corridor
IsolineAvoidanceAreaGeometry.Builder corridor(Corridor corridor)
Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.
- Parameters:
corridor- Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
corridor
default IsolineAvoidanceAreaGeometry.Builder corridor(Consumer<Corridor.Builder> corridor)
Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.
This is a convenience method that creates an instance of theCorridor.Builderavoiding the need to create one manually viaCorridor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocorridor(Corridor).- Parameters:
corridor- a consumer that will call methods onCorridor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
corridor(Corridor)
-
polygon
IsolineAvoidanceAreaGeometry.Builder polygon(Collection<? extends Collection<? extends Collection<Double>>> polygon)
A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.
- Parameters:
polygon- A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polygon
IsolineAvoidanceAreaGeometry.Builder polygon(Collection<? extends Collection<Double>>... polygon)
A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.
- Parameters:
polygon- A list of Polygon will be excluded for calculating isolines, the list can only contain 1 polygon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polylineCorridor
IsolineAvoidanceAreaGeometry.Builder polylineCorridor(PolylineCorridor polylineCorridor)
Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
- Parameters:
polylineCorridor- Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polylineCorridor
default IsolineAvoidanceAreaGeometry.Builder polylineCorridor(Consumer<PolylineCorridor.Builder> polylineCorridor)
Geometry defined as an encoded corridor – a polyline with a radius that defines the width of the corridor. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
This is a convenience method that creates an instance of thePolylineCorridor.Builderavoiding the need to create one manually viaPolylineCorridor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolylineCorridor(PolylineCorridor).- Parameters:
polylineCorridor- a consumer that will call methods onPolylineCorridor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
polylineCorridor(PolylineCorridor)
-
polylinePolygon
IsolineAvoidanceAreaGeometry.Builder polylinePolygon(Collection<String> polylinePolygon)
A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
- Parameters:
polylinePolygon- A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
polylinePolygon
IsolineAvoidanceAreaGeometry.Builder polylinePolygon(String... polylinePolygon)
A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
- Parameters:
polylinePolygon- A list of PolylinePolygon's that are excluded for calculating isolines, the list can only contain 1 polygon. For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-