Interface IsolineAvoidanceAreaGeometry.Builder

  • Method Details

    • boundingBox

      A rectangular area defined by its southwest and northeast corners: [min longitude, min latitude, max longitude, max latitude].

      Parameters:
      boundingBox - A rectangular area defined by its southwest and northeast corners: [min longitude, min latitude, max longitude, max latitude].
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • boundingBox

      IsolineAvoidanceAreaGeometry.Builder boundingBox(Double... boundingBox)

      A rectangular area defined by its southwest and northeast corners: [min longitude, min latitude, max longitude, max latitude].

      Parameters:
      boundingBox - A rectangular area defined by its southwest and northeast corners: [min longitude, min latitude, max longitude, max latitude].
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • corridor

      A buffer zone around a line, defined by a series of coordinates and a radius in meters.

      Parameters:
      corridor - A buffer zone around a line, defined by a series of coordinates and a radius in meters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • corridor

      A buffer zone around a line, defined by a series of coordinates and a radius in meters.

      This is a convenience method that creates an instance of the Corridor.Builder avoiding the need to create one manually via Corridor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to corridor(Corridor).

      Parameters:
      corridor - a consumer that will call methods on Corridor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • polygon

      A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.

      Parameters:
      polygon - A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polygon

      A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.

      Parameters:
      polygon - A polygon defined by a list of coordinate rings. The first ring defines the outer boundary; subsequent rings will be ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polylineCorridor

      IsolineAvoidanceAreaGeometry.Builder polylineCorridor(PolylineCorridor polylineCorridor)

      A buffer zone around a compressed polyline, defined by an encoded polyline string and a radius in meters. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.

      Parameters:
      polylineCorridor - A buffer zone around a compressed polyline, defined by an encoded polyline string and a radius in meters. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polylineCorridor

      default IsolineAvoidanceAreaGeometry.Builder polylineCorridor(Consumer<PolylineCorridor.Builder> polylineCorridor)

      A buffer zone around a compressed polyline, defined by an encoded polyline string and a radius in meters. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.

      This is a convenience method that creates an instance of the PolylineCorridor.Builder avoiding the need to create one manually via PolylineCorridor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to polylineCorridor(PolylineCorridor).

      Parameters:
      polylineCorridor - a consumer that will call methods on PolylineCorridor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • polylinePolygon

      IsolineAvoidanceAreaGeometry.Builder polylinePolygon(Collection<String> polylinePolygon)

      A polygon defined by encoded polyline strings. The first string defines the outer boundary; subsequent strings will be ignored. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.

      Parameters:
      polylinePolygon - A polygon defined by encoded polyline strings. The first string defines the outer boundary; subsequent strings will be ignored. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polylinePolygon

      IsolineAvoidanceAreaGeometry.Builder polylinePolygon(String... polylinePolygon)

      A polygon defined by encoded polyline strings. The first string defines the outer boundary; subsequent strings will be ignored. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.

      Parameters:
      polylinePolygon - A polygon defined by encoded polyline strings. The first string defines the outer boundary; subsequent strings will be ignored. For more information on polyline encoding, see https://github.com/aws-geospatial/polyline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.