public static class TunnelRouteSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TunnelRouteSummary.Builder |
advertiser(TunnelRouteSummary.Advertiser advertiser)
The source of the route advertisement.
|
TunnelRouteSummary.Builder |
age(Long age)
The age of the route.
|
TunnelRouteSummary.Builder |
asPath(List<Integer> asPath)
A list of ASNs in AS_Path.
|
TunnelRouteSummary |
build() |
TunnelRouteSummary.Builder |
copy(TunnelRouteSummary model) |
TunnelRouteSummary.Builder |
isBestPath(Boolean isBestPath)
Indicates this is the best route.
|
TunnelRouteSummary.Builder |
prefix(String prefix)
The BGP network layer reachability information.
|
public TunnelRouteSummary.Builder prefix(String prefix)
The BGP network layer reachability information.
prefix
- the value to setpublic TunnelRouteSummary.Builder age(Long age)
The age of the route.
age
- the value to setpublic TunnelRouteSummary.Builder isBestPath(Boolean isBestPath)
Indicates this is the best route.
isBestPath
- the value to setpublic TunnelRouteSummary.Builder asPath(List<Integer> asPath)
A list of ASNs in AS_Path.
asPath
- the value to setpublic TunnelRouteSummary.Builder advertiser(TunnelRouteSummary.Advertiser advertiser)
The source of the route advertisement.
advertiser
- the value to setpublic TunnelRouteSummary build()
public TunnelRouteSummary.Builder copy(TunnelRouteSummary model)
Copyright © 2016–2024. All rights reserved.