Interface RouteVehicleIncident.Builder

    • Method Detail

      • description

        RouteVehicleIncident.Builder description​(String description)

        Brief readable description of the incident.

        Parameters:
        description - Brief readable description of the incident.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        RouteVehicleIncident.Builder endTime​(String endTime)

        End timestamp of the incident.

        Parameters:
        endTime - End timestamp of the incident.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        RouteVehicleIncident.Builder severity​(String severity)

        Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic

        Parameters:
        severity - Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteVehicleIncidentSeverity, RouteVehicleIncidentSeverity
      • severity

        RouteVehicleIncident.Builder severity​(RouteVehicleIncidentSeverity severity)

        Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic

        Parameters:
        severity - Severity of the incident Critical - The part of the route the incident affects is unusable. Major- Major impact on the leg duration, for example stop and go Minor- Minor impact on the leg duration, for example traffic jam Low - Low on duration, for example slightly increased traffic
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteVehicleIncidentSeverity, RouteVehicleIncidentSeverity
      • startTime

        RouteVehicleIncident.Builder startTime​(String startTime)

        Start time of the incident.

        Parameters:
        startTime - Start time of the incident.
        Returns:
        Returns a reference to this object so that method calls can be chained together.