Builder

Builder API

Builder

Creates a builder object that is used for creating a SafetyScoreRequestParameter instance.

Builder(Period period)
Parameters

period

build

Builds and returns an instance of SafetyScoreRequestParameters.

Builder build();

setOccupantRoles

Sets the occupant roles for which the safety score is being requested for.

Returns an instance of the Builder.

Builder setOccupantRoles(OccupantRoles occupantRoles);
Parameters

occupantRoles

setTransportModes

Sets the transport modes for which the safety score is being requested for.

Returns an instance of the Builder.

Builder setTransportModes(TransportModes transportModes);
Parameters

transportModes

Last updated