public static class TrafficRoute.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TrafficRoute |
build() |
TrafficRoute.Builder |
copy(TrafficRoute model) |
TrafficRoute.Builder |
nodes(List<TrafficNode> nodes)
The ordered sequence of nodes in the given the traffic route forming a path.
|
TrafficRoute.Builder |
reachabilityStatus(TrafficRoute.ReachabilityStatus reachabilityStatus)
Reachability status for the given traffic route.
|
TrafficRoute.Builder |
routeAnalysisDescription(String routeAnalysisDescription)
A description of the traffic route analysis.
|
public TrafficRoute.Builder reachabilityStatus(TrafficRoute.ReachabilityStatus reachabilityStatus)
Reachability status for the given traffic route.
reachabilityStatus
- the value to setpublic TrafficRoute.Builder nodes(List<TrafficNode> nodes)
The ordered sequence of nodes in the given the traffic route forming a path.
nodes
- the value to setpublic 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”.
routeAnalysisDescription
- the value to setpublic TrafficRoute build()
public TrafficRoute.Builder copy(TrafficRoute model)
Copyright © 2016–2024. All rights reserved.