Interface RouteVehicleIncident.Builder

  • Method Details

    • 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

      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

      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:
    • 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:
    • 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.
    • type

      Type of the incident.

      Parameters:
      type - Type of the incident.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Type of the incident.

      Parameters:
      type - Type of the incident.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: