Builder
Builder API
Builder
Builder
Creates a builder object that is used for creating a SafetyScoreRequestParameter instance.
Parameters
period
The period for which the aggregated safety score is being requested. See Period.
build
build
Builds and returns an instance of SafetyScoreRequestParameters.
setOccupantRoles
setOccupantRoles
Sets the occupant roles for which the safety score is being requested for.
Returns an instance of the Builder.
Parameters
occupantRoles
The occupant roles for which the aggregated safety score is being requested. See OccupantRoles.
setTransportModes
setTransportModes
Sets the transport modes for which the safety score is being requested for.
Returns an instance of the Builder.
Parameters
transportModes
The transport modes for which the aggregated safety score is being requested. See TransportModes.
Last updated