public static final class BgpGracefulRestartTimer.Builder
extends java.lang.Object
BgpGracefulRestartTimer
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
BgpGracefulRestartTimer . |
Modifier and Type | Method and Description |
---|---|
BgpGracefulRestartTimer |
build() |
BgpGracefulRestartTimer.Builder |
setRestartTimer(java.lang.Long restartTimer)
Maximum time taken (in seconds) for a BGP session to be established after a
restart.
|
BgpGracefulRestartTimer.Builder |
setStaleRouteTimer(java.lang.Long staleRouteTimer)
Maximum time (in seconds) before stale routes are removed from the RIB (Routing
Information Base) when BGP restarts.
|
public Builder()
BgpGracefulRestartTimer
.public BgpGracefulRestartTimer.Builder setRestartTimer(java.lang.Long restartTimer)
restartTimer
- New value for the property.public BgpGracefulRestartTimer.Builder setStaleRouteTimer(java.lang.Long staleRouteTimer)
staleRouteTimer
- New value for the property.public BgpGracefulRestartTimer build()