Interface Isoline.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Isoline.Builder,Isoline>, SdkBuilder<Isoline.Builder,Isoline>, SdkPojo
Enclosing class:
Isoline

@Mutable @NotThreadSafe public static interface Isoline.Builder extends SdkPojo, CopyableBuilder<Isoline.Builder,Isoline>
  • Method Details

    • connections

      Isoline.Builder connections(Collection<IsolineConnection> connections)

      Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

      Parameters:
      connections - Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

      Isoline.Builder connections(IsolineConnection... connections)

      Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

      Parameters:
      connections - Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

      Isoline.Builder connections(Consumer<IsolineConnection.Builder>... connections)

      Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connections(List<IsolineConnection>).

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

      Isoline.Builder distanceThreshold(Long distanceThreshold)

      Distance threshold corresponding to the calculated Isoline.

      Parameters:
      distanceThreshold - Distance threshold corresponding to the calculated Isoline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      Geometries for the Calculated isolines.

      Parameters:
      geometries - Geometries for the Calculated isolines.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      Isoline.Builder geometries(IsolineShapeGeometry... geometries)

      Geometries for the Calculated isolines.

      Parameters:
      geometries - Geometries for the Calculated isolines.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      Geometries for the Calculated isolines.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to geometries(List<IsolineShapeGeometry>).

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

      Isoline.Builder timeThreshold(Long timeThreshold)

      Time threshold corresponding to the calculated isoline.

      Parameters:
      timeThreshold - Time threshold corresponding to the calculated isoline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.