Interface RouteDriverScheduleInterval.Builder

    • Method Detail

      • driveDuration

        RouteDriverScheduleInterval.Builder driveDuration​(Long driveDuration)

        Maximum allowed driving time before stopping to rest.

        Unit: seconds

        Parameters:
        driveDuration - Maximum allowed driving time before stopping to rest.

        Unit: seconds

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • restDuration

        RouteDriverScheduleInterval.Builder restDuration​(Long restDuration)

        Resting time before the driver can continue driving.

        Unit: seconds

        Parameters:
        restDuration - Resting time before the driver can continue driving.

        Unit: seconds

        Returns:
        Returns a reference to this object so that method calls can be chained together.