Interface Route.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Route.Builder,,Route> SdkBuilder<Route.Builder,,Route> SdkPojo
- Enclosing class:
Route
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily(String addressFamily) The address family of the route.addressFamily(AddressFamily addressFamily) The address family of the route.asPath(Collection<AsPathSegment> asPath) The autonomous system (AS) path of the route.asPath(Consumer<AsPathSegment.Builder>... asPath) The autonomous system (AS) path of the route.asPath(AsPathSegment... asPath) The autonomous system (AS) path of the route.awsLogicalDeviceId(String awsLogicalDeviceId) The Direct Connect endpoint that terminates the logical connection.The CIDR (prefix) of the route.communities(String... communities) The BGP communities associated with the route.communities(Collection<String> communities) The BGP communities associated with the route.routeDirection(String routeDirection) The direction of the route.routeDirection(RouteDirection routeDirection) The direction of the route.routeInstalledAt(Instant routeInstalledAt) The time when the route was installed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cidr
The CIDR (prefix) of the route.
- Parameters:
cidr- The CIDR (prefix) of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeDirection
The direction of the route.
The valid values are
accepted(received from the customer network) andadvertised(advertised to the customer network).- Parameters:
routeDirection- The direction of the route.The valid values are
accepted(received from the customer network) andadvertised(advertised to the customer network).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routeDirection
The direction of the route.
The valid values are
accepted(received from the customer network) andadvertised(advertised to the customer network).- Parameters:
routeDirection- The direction of the route.The valid values are
accepted(received from the customer network) andadvertised(advertised to the customer network).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressFamily
The address family of the route.
The valid values are
ipv4andipv6.- Parameters:
addressFamily- The address family of the route.The valid values are
ipv4andipv6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressFamily
The address family of the route.
The valid values are
ipv4andipv6.- Parameters:
addressFamily- The address family of the route.The valid values are
ipv4andipv6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
asPath
The autonomous system (AS) path of the route.
- Parameters:
asPath- The autonomous system (AS) path of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPath
The autonomous system (AS) path of the route.
- Parameters:
asPath- The autonomous system (AS) path of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asPath
The autonomous system (AS) path of the route.
This is a convenience method that creates an instance of theAsPathSegment.Builderavoiding the need to create one manually viaAsPathSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toasPath(List<AsPathSegment>).- Parameters:
asPath- a consumer that will call methods onAsPathSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
communities
The BGP communities associated with the route.
- Parameters:
communities- The BGP communities associated with the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communities
The BGP communities associated with the route.
- Parameters:
communities- The BGP communities associated with the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogicalDeviceId
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
- Parameters:
awsLogicalDeviceId- The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeInstalledAt
The time when the route was installed. The value is displayed in UTC format.
- Parameters:
routeInstalledAt- The time when the route was installed. The value is displayed in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-