Interface RouteServerRoute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteServerRoute.Builder,
,RouteServerRoute> SdkBuilder<RouteServerRoute.Builder,
,RouteServerRoute> SdkPojo
- Enclosing class:
RouteServerRoute
-
Method Summary
Modifier and TypeMethodDescriptionThe AS path attributes of the BGP route.asPaths
(Collection<String> asPaths) The AS path attributes of the BGP route.The Multi-Exit Discriminator (MED) value of the BGP route.The IP address for the next hop.The destination CIDR block of the route.routeInstallationDetails
(Collection<RouteServerRouteInstallationDetail> routeInstallationDetails) Details about the installation status of this route in route tables.routeInstallationDetails
(Consumer<RouteServerRouteInstallationDetail.Builder>... routeInstallationDetails) Details about the installation status of this route in route tables.routeInstallationDetails
(RouteServerRouteInstallationDetail... routeInstallationDetails) Details about the installation status of this route in route tables.routeServerEndpointId
(String routeServerEndpointId) The ID of the route server endpoint that received this route.routeServerPeerId
(String routeServerPeerId) The ID of the route server peer that advertised this route.routeStatus
(String routeStatus) The current status of the route in the routing database.routeStatus
(RouteServerRouteStatus routeStatus) The current status of the route in the routing database.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
routeServerEndpointId
The ID of the route server endpoint that received this route.
- Parameters:
routeServerEndpointId
- The ID of the route server endpoint that received this route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeServerPeerId
The ID of the route server peer that advertised this route.
- Parameters:
routeServerPeerId
- The ID of the route server peer that advertised this route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeInstallationDetails
RouteServerRoute.Builder routeInstallationDetails(Collection<RouteServerRouteInstallationDetail> routeInstallationDetails) Details about the installation status of this route in route tables.
- Parameters:
routeInstallationDetails
- Details about the installation status of this route in route tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeInstallationDetails
RouteServerRoute.Builder routeInstallationDetails(RouteServerRouteInstallationDetail... routeInstallationDetails) Details about the installation status of this route in route tables.
- Parameters:
routeInstallationDetails
- Details about the installation status of this route in route tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeInstallationDetails
RouteServerRoute.Builder routeInstallationDetails(Consumer<RouteServerRouteInstallationDetail.Builder>... routeInstallationDetails) Details about the installation status of this route in route tables.
This is a convenience method that creates an instance of theRouteServerRouteInstallationDetail.Builder
avoiding the need to create one manually viaRouteServerRouteInstallationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteInstallationDetails(List<RouteServerRouteInstallationDetail>)
.- Parameters:
routeInstallationDetails
- a consumer that will call methods onRouteServerRouteInstallationDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeStatus
The current status of the route in the routing database. Values are
in-rib
orin-fib
depending on if the routes are in the RIB or the FIB database.The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions.
The Forwarding Information Base (FIB) serves as a forwarding table for what route server has determined are the best-path routes in the RIB after evaluating all available routing information and policies. The FIB routes are installed on the route tables. The FIB is recomputed whenever there are changes to the RIB.
- Parameters:
routeStatus
- The current status of the route in the routing database. Values arein-rib
orin-fib
depending on if the routes are in the RIB or the FIB database.The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions.
The Forwarding Information Base (FIB) serves as a forwarding table for what route server has determined are the best-path routes in the RIB after evaluating all available routing information and policies. The FIB routes are installed on the route tables. The FIB is recomputed whenever there are changes to the RIB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeStatus
The current status of the route in the routing database. Values are
in-rib
orin-fib
depending on if the routes are in the RIB or the FIB database.The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions.
The Forwarding Information Base (FIB) serves as a forwarding table for what route server has determined are the best-path routes in the RIB after evaluating all available routing information and policies. The FIB routes are installed on the route tables. The FIB is recomputed whenever there are changes to the RIB.
- Parameters:
routeStatus
- The current status of the route in the routing database. Values arein-rib
orin-fib
depending on if the routes are in the RIB or the FIB database.The Routing Information Base (RIB) serves as a database that stores all the routing information and network topology data collected by a router or routing system, such as routes learned from BGP peers. The RIB is constantly updated as new routing information is received or existing routes change. This ensures that the route server always has the most current view of the network topology and can make optimal routing decisions.
The Forwarding Information Base (FIB) serves as a forwarding table for what route server has determined are the best-path routes in the RIB after evaluating all available routing information and policies. The FIB routes are installed on the route tables. The FIB is recomputed whenever there are changes to the RIB.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prefix
The destination CIDR block of the route.
- Parameters:
prefix
- The destination CIDR block of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPaths
The AS path attributes of the BGP route.
- Parameters:
asPaths
- The AS path attributes of the BGP route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPaths
The AS path attributes of the BGP route.
- Parameters:
asPaths
- The AS path attributes of the BGP route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
med
The Multi-Exit Discriminator (MED) value of the BGP route.
- Parameters:
med
- The Multi-Exit Discriminator (MED) value of the BGP route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextHopIp
The IP address for the next hop.
- Parameters:
nextHopIp
- The IP address for the next hop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-