Interface RouteServerRoute.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteServerRoute.Builder,RouteServerRoute>
,SdkBuilder<RouteServerRoute.Builder,RouteServerRoute>
,SdkPojo
- Enclosing class:
- RouteServerRoute
public static interface RouteServerRoute.Builder extends SdkPojo, CopyableBuilder<RouteServerRoute.Builder,RouteServerRoute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteServerRoute.Builder
asPaths(String... asPaths)
The AS path attributes of the BGP route.RouteServerRoute.Builder
asPaths(Collection<String> asPaths)
The AS path attributes of the BGP route.RouteServerRoute.Builder
med(Integer med)
The Multi-Exit Discriminator (MED) value of the BGP route.RouteServerRoute.Builder
nextHopIp(String nextHopIp)
The IP address for the next hop.RouteServerRoute.Builder
prefix(String prefix)
The destination CIDR block of the route.RouteServerRoute.Builder
routeInstallationDetails(Collection<RouteServerRouteInstallationDetail> routeInstallationDetails)
Details about the installation status of this route in route tables.RouteServerRoute.Builder
routeInstallationDetails(Consumer<RouteServerRouteInstallationDetail.Builder>... routeInstallationDetails)
Details about the installation status of this route in route tables.RouteServerRoute.Builder
routeInstallationDetails(RouteServerRouteInstallationDetail... routeInstallationDetails)
Details about the installation status of this route in route tables.RouteServerRoute.Builder
routeServerEndpointId(String routeServerEndpointId)
The ID of the route server endpoint that received this route.RouteServerRoute.Builder
routeServerPeerId(String routeServerPeerId)
The ID of the route server peer that advertised this route.RouteServerRoute.Builder
routeStatus(String routeStatus)
The current status of the route in the routing database.RouteServerRoute.Builder
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 Detail
-
routeServerEndpointId
RouteServerRoute.Builder routeServerEndpointId(String 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
RouteServerRoute.Builder routeServerPeerId(String 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 to#routeInstallationDetails(List
.) - 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:
#routeInstallationDetails(java.util.Collection
)
-
routeStatus
RouteServerRoute.Builder routeStatus(String 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:
RouteServerRouteStatus
,RouteServerRouteStatus
-
routeStatus
RouteServerRoute.Builder routeStatus(RouteServerRouteStatus 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:
RouteServerRouteStatus
,RouteServerRouteStatus
-
prefix
RouteServerRoute.Builder prefix(String 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
RouteServerRoute.Builder asPaths(Collection<String> 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
RouteServerRoute.Builder asPaths(String... 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
RouteServerRoute.Builder med(Integer 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
RouteServerRoute.Builder nextHopIp(String 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.
-
-