Interface RouteServerRoute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteServerRoute.Builder,RouteServerRoute>,SdkBuilder<RouteServerRoute.Builder,RouteServerRoute>,SdkPojo
- Enclosing class:
- RouteServerRoute
@Mutable @NotThreadSafe 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.BuilderasPaths(String... asPaths)The AS path attributes of the BGP route.RouteServerRoute.BuilderasPaths(Collection<String> asPaths)The AS path attributes of the BGP route.RouteServerRoute.Buildermed(Integer med)The Multi-Exit Discriminator (MED) value of the BGP route.RouteServerRoute.BuildernextHopIp(String nextHopIp)The IP address for the next hop.RouteServerRoute.Builderprefix(String prefix)The destination CIDR block of the route.RouteServerRoute.BuilderrouteInstallationDetails(Collection<RouteServerRouteInstallationDetail> routeInstallationDetails)Details about the installation status of this route in route tables.RouteServerRoute.BuilderrouteInstallationDetails(Consumer<RouteServerRouteInstallationDetail.Builder>... routeInstallationDetails)Details about the installation status of this route in route tables.RouteServerRoute.BuilderrouteInstallationDetails(RouteServerRouteInstallationDetail... routeInstallationDetails)Details about the installation status of this route in route tables.RouteServerRoute.BuilderrouteServerEndpointId(String routeServerEndpointId)The ID of the route server endpoint that received this route.RouteServerRoute.BuilderrouteServerPeerId(String routeServerPeerId)The ID of the route server peer that advertised this route.RouteServerRoute.BuilderrouteStatus(String routeStatus)The current status of the route in the routing database.RouteServerRoute.BuilderrouteStatus(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.Builderavoiding the need to create one manually viaRouteServerRouteInstallationDetail.builder().When the
Consumercompletes,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-riborin-fibdepending 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-riborin-fibdepending 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-riborin-fibdepending 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-riborin-fibdepending 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.
-
-