public class FlowSegmentDataQueryBuilder extends java.lang.Object implements IFlowSegmentDataQuery
FlowSegmentDataQuery
objects.Constructor and Description |
---|
FlowSegmentDataQueryBuilder(FlowSegmentStyle style,
java.lang.Integer zoomLevel,
LatLng position) |
Modifier and Type | Method and Description |
---|---|
FlowSegmentDataQuery |
build()
Creates new instance of
FlowSegmentDataQuery |
static FlowSegmentDataQueryBuilder |
create(FlowSegmentStyle style,
java.lang.Integer zoomLevel,
LatLng position)
Builder used to create an instance of
FlowSegmentDataQuery , once constructed, the user cannot change the field values |
FlowSegmentDataQueryBuilder |
withIncludeOpenLR(java.lang.Boolean includeOpenLR)
Should response include OpenLR code?
|
FlowSegmentDataQueryBuilder |
withSpeedUnit(FlowSegmentSpeedUnit speedUnit)
The representation of Speed units.
|
FlowSegmentDataQueryBuilder |
withThickness(java.lang.Integer thickness)
Thickness segment width multiplier.
|
public FlowSegmentDataQueryBuilder(FlowSegmentStyle style, java.lang.Integer zoomLevel, LatLng position)
public FlowSegmentDataQueryBuilder withThickness(java.lang.Integer thickness)
IFlowSegmentDataQuery
withThickness
in interface IFlowSegmentDataQuery
thickness
- segment width multiplier.public FlowSegmentDataQueryBuilder withSpeedUnit(FlowSegmentSpeedUnit speedUnit)
IFlowSegmentDataQuery
withSpeedUnit
in interface IFlowSegmentDataQuery
speedUnit
- Unit of speed (KMPH/MPH).public FlowSegmentDataQueryBuilder withIncludeOpenLR(java.lang.Boolean includeOpenLR)
IFlowSegmentDataQuery
withIncludeOpenLR
in interface IFlowSegmentDataQuery
includeOpenLR
- OpenLR inclusion boolean flag.public static FlowSegmentDataQueryBuilder create(FlowSegmentStyle style, java.lang.Integer zoomLevel, LatLng position)
FlowSegmentDataQuery
, once constructed, the user cannot change the field valuesFlowSegmentDataQuery
to be used for further processingpublic FlowSegmentDataQuery build()
FlowSegmentDataQuery