Class TunnelRouteSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.TunnelRouteSummary.Builder
-
- Enclosing class:
- TunnelRouteSummary
public static class TunnelRouteSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelRouteSummary.Builderadvertiser(TunnelRouteSummary.Advertiser advertiser)The source of the route advertisement.TunnelRouteSummary.Builderage(Long age)The age of the route.TunnelRouteSummary.BuilderasPath(List<Integer> asPath)A list of ASNs in AS_Path.TunnelRouteSummarybuild()TunnelRouteSummary.Buildercopy(TunnelRouteSummary model)TunnelRouteSummary.BuilderisBestPath(Boolean isBestPath)Indicates this is the best route.TunnelRouteSummary.Builderprefix(String prefix)The BGP network layer reachability information.
-
-
-
Method Detail
-
prefix
public TunnelRouteSummary.Builder prefix(String prefix)
The BGP network layer reachability information.- Parameters:
prefix- the value to set- Returns:
- this builder
-
age
public TunnelRouteSummary.Builder age(Long age)
The age of the route.- Parameters:
age- the value to set- Returns:
- this builder
-
isBestPath
public TunnelRouteSummary.Builder isBestPath(Boolean isBestPath)
Indicates this is the best route.- Parameters:
isBestPath- the value to set- Returns:
- this builder
-
asPath
public TunnelRouteSummary.Builder asPath(List<Integer> asPath)
A list of ASNs in AS_Path.- Parameters:
asPath- the value to set- Returns:
- this builder
-
advertiser
public TunnelRouteSummary.Builder advertiser(TunnelRouteSummary.Advertiser advertiser)
The source of the route advertisement.- Parameters:
advertiser- the value to set- Returns:
- this builder
-
build
public TunnelRouteSummary build()
-
copy
public TunnelRouteSummary.Builder copy(TunnelRouteSummary model)
-
-