Builder
Last updated
BuilderCreates a builder object that is used for creating a SafetyScoreRequestParameter instance.
Builder(Period period)period
The period for which the aggregated safety score is being requested. See Period.
buildBuilds and returns an instance of SafetyScoreRequestParameters.
Builder build();setOccupantRolesSets the occupant roles for which the safety score is being requested for.
Returns an instance of the Builder.
Builder setOccupantRoles(OccupantRoles occupantRoles);occupantRoles
The occupant roles for which the aggregated safety score is being requested. See OccupantRoles.
setTransportModesSets the transport modes for which the safety score is being requested for.
Returns an instance of the Builder.
transportModes
The transport modes for which the aggregated safety score is being requested. See TransportModes.
Last updated
Builder setTransportModes(TransportModes transportModes);