Interface RouteMatrixTrafficOptions.Builder

  • Method Details

    • flowEventThresholdOverride

      RouteMatrixTrafficOptions.Builder flowEventThresholdOverride(Long flowEventThresholdOverride)

      Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

      Parameters:
      flowEventThresholdOverride - Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usage

      Determines if traffic should be used or ignored while calculating the route.

      Default Value: UseTrafficData

      Parameters:
      usage - Determines if traffic should be used or ignored while calculating the route.

      Default Value: UseTrafficData

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

      Determines if traffic should be used or ignored while calculating the route.

      Default Value: UseTrafficData

      Parameters:
      usage - Determines if traffic should be used or ignored while calculating the route.

      Default Value: UseTrafficData

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