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)

      Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.

      Parameters:
      connections - Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

      Isoline.Builder connections(IsolineConnection... connections)

      Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.

      Parameters:
      connections - Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connections

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

      Lines connecting separate parts of the reachable area that can be reached within the same threshold. These occur when areas are reachable but not contiguous, such as when separated by water or unroutable areas. When present, these lines represent actual transportation network segments (such as ferry routes or bridges) that connect the separated areas.

      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)

      The travel distance in meters used to calculate this isoline, if distance-based thresholds were specified in the request.

      Parameters:
      distanceThreshold - The travel distance in meters used to calculate this isoline, if distance-based thresholds were specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      The shapes that define the reachable area, provided in the requested geometry format.

      Parameters:
      geometries - The shapes that define the reachable area, provided in the requested geometry format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      Isoline.Builder geometries(IsolineShapeGeometry... geometries)

      The shapes that define the reachable area, provided in the requested geometry format.

      Parameters:
      geometries - The shapes that define the reachable area, provided in the requested geometry format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • geometries

      The shapes that define the reachable area, provided in the requested geometry format.

      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)

      The travel time in seconds used to calculate this isoline, if time-based thresholds were specified in the request.

      Parameters:
      timeThreshold - The travel time in seconds used to calculate this isoline, if time-based thresholds were specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.