Class TrafficRoute.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • nodes

        public TrafficRoute.Builder nodes​(List<TrafficNode> nodes)
        The ordered sequence of nodes in the given the traffic route forming a path.
        Parameters:
        nodes - the value to set
        Returns:
        this builder
      • routeAnalysisDescription

        public TrafficRoute.Builder routeAnalysisDescription​(String routeAnalysisDescription)
        A description of the traffic route analysis.

        For example: “Traffic might not reach a destination due to the LB backend being unhealthy”.

        Parameters:
        routeAnalysisDescription - the value to set
        Returns:
        this builder