Interface VirtualEdgeNetworkGatewayRouteRibEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkGatewayRouteRibEntry.Builder,,VirtualEdgeNetworkGatewayRouteRibEntry> SdkBuilder<VirtualEdgeNetworkGatewayRouteRibEntry.Builder,,VirtualEdgeNetworkGatewayRouteRibEntry> SdkPojo
- Enclosing class:
VirtualEdgeNetworkGatewayRouteRibEntry
-
Method Summary
Modifier and TypeMethodDescriptionannouncementTarget(String announcementTarget) The highest target to which the route is announced.announcementTarget(VirtualEdgeNetworkGatewayRouteAnnouncementTarget announcementTarget) The highest target to which the route is announced.asPathLength(Integer asPathLength) The length of the BGP AS path of the route.borderScope(String borderScope) The scope of the route announcement on the Amazon Web Services network.borderScope(VirtualEdgeNetworkGatewayRouteBorderScope borderScope) The scope of the route announcement on the Amazon Web Services network.Indicates whether the route is filtered out of the forwarding information base (FIB).filteredReason(String filteredReason) The reason that the route is filtered out of the FIB.filteredReason(VirtualEdgeNetworkGatewayRouteFilteredReason filteredReason) The reason that the route is filtered out of the FIB.internetScope(String internetScope) The scope of the route announcement on the internet.internetScope(VirtualEdgeNetworkGatewayRouteInternetScope internetScope) The scope of the route announcement on the internet.ipv4DestinationCidrBlock(String ipv4DestinationCidrBlock) The IPv4 CIDR block used for the destination match.ipv6DestinationCidrBlock(String ipv6DestinationCidrBlock) The IPv6 CIDR block used for the destination match.The BGP local preference of the route.The BGP multi-exit discriminator (MED) of the route.The maximum transmission unit (MTU), in bytes, for the route.The origin of the route.The origin of the route.prependCount(Integer prependCount) The number of times the AS path is prepended for the route, from 1 to 3.routePreference(Integer routePreference) The route preference of the route.The status of a route learned from a route server peer.The status of a route learned from a route server peer.The targets that the route forwards traffic to.targets(Consumer<VirtualEdgeNetworkGatewayRouteTarget.Builder>... targets) The targets that the route forwards traffic to.targets(VirtualEdgeNetworkGatewayRouteTarget... targets) The targets that the route forwards traffic to.targetType(String targetType) The type of target for the route, which determines where the gateway forwards matching traffic.targetType(VirtualEdgeNetworkGatewayRouteTargetType targetType) The type of target for the route, which determines where the gateway forwards matching traffic.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
-
ipv4DestinationCidrBlock
VirtualEdgeNetworkGatewayRouteRibEntry.Builder ipv4DestinationCidrBlock(String ipv4DestinationCidrBlock) The IPv4 CIDR block used for the destination match.
- Parameters:
ipv4DestinationCidrBlock- The IPv4 CIDR block used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6DestinationCidrBlock
VirtualEdgeNetworkGatewayRouteRibEntry.Builder ipv6DestinationCidrBlock(String ipv6DestinationCidrBlock) The IPv6 CIDR block used for the destination match.
- Parameters:
ipv6DestinationCidrBlock- The IPv6 CIDR block used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetType
The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
-
blackhole– Drops matching traffic. -
internet– Forwards matching traffic to the internet. -
subnet– Forwards matching traffic to a secondary subnet.
- Parameters:
targetType- The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:-
blackhole– Drops matching traffic. -
internet– Forwards matching traffic to the internet. -
subnet– Forwards matching traffic to a secondary subnet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targetType
VirtualEdgeNetworkGatewayRouteRibEntry.Builder targetType(VirtualEdgeNetworkGatewayRouteTargetType targetType) The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:
-
blackhole– Drops matching traffic. -
internet– Forwards matching traffic to the internet. -
subnet– Forwards matching traffic to a secondary subnet.
- Parameters:
targetType- The type of target for the route, which determines where the gateway forwards matching traffic. Valid values:-
blackhole– Drops matching traffic. -
internet– Forwards matching traffic to the internet. -
subnet– Forwards matching traffic to a secondary subnet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
targets
VirtualEdgeNetworkGatewayRouteRibEntry.Builder targets(Collection<VirtualEdgeNetworkGatewayRouteTarget> targets) The targets that the route forwards traffic to. A target is one of the following:
-
A blackhole, which drops the traffic.
-
An IP address.
-
A secondary subnet.
-
The internet.
- Parameters:
targets- The targets that the route forwards traffic to. A target is one of the following:-
A blackhole, which drops the traffic.
-
An IP address.
-
A secondary subnet.
-
The internet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targets
VirtualEdgeNetworkGatewayRouteRibEntry.Builder targets(VirtualEdgeNetworkGatewayRouteTarget... targets) The targets that the route forwards traffic to. A target is one of the following:
-
A blackhole, which drops the traffic.
-
An IP address.
-
A secondary subnet.
-
The internet.
- Parameters:
targets- The targets that the route forwards traffic to. A target is one of the following:-
A blackhole, which drops the traffic.
-
An IP address.
-
A secondary subnet.
-
The internet.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targets
VirtualEdgeNetworkGatewayRouteRibEntry.Builder targets(Consumer<VirtualEdgeNetworkGatewayRouteTarget.Builder>... targets) The targets that the route forwards traffic to. A target is one of the following:
-
A blackhole, which drops the traffic.
-
An IP address.
-
A secondary subnet.
-
The internet.
VirtualEdgeNetworkGatewayRouteTarget.Builderavoiding the need to create one manually viaVirtualEdgeNetworkGatewayRouteTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<VirtualEdgeNetworkGatewayRouteTarget>).- Parameters:
targets- a consumer that will call methods onVirtualEdgeNetworkGatewayRouteTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
announcementTarget
The highest target to which the route is announced.
localannounces the route within the virtual edge network only.aws-global-networkalso announces it to the Amazon Web Services global network.internetalso announces it to the internet.- Parameters:
announcementTarget- The highest target to which the route is announced.localannounces the route within the virtual edge network only.aws-global-networkalso announces it to the Amazon Web Services global network.internetalso announces it to the internet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
announcementTarget
VirtualEdgeNetworkGatewayRouteRibEntry.Builder announcementTarget(VirtualEdgeNetworkGatewayRouteAnnouncementTarget announcementTarget) The highest target to which the route is announced.
localannounces the route within the virtual edge network only.aws-global-networkalso announces it to the Amazon Web Services global network.internetalso announces it to the internet.- Parameters:
announcementTarget- The highest target to which the route is announced.localannounces the route within the virtual edge network only.aws-global-networkalso announces it to the Amazon Web Services global network.internetalso announces it to the internet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
borderScope
The scope of the route announcement on the Amazon Web Services network.
regionannounces it within the edge location's Amazon Web Services Region.continentalannounces it within the edge location's continent.globalannounces it worldwide.- Parameters:
borderScope- The scope of the route announcement on the Amazon Web Services network.regionannounces it within the edge location's Amazon Web Services Region.continentalannounces it within the edge location's continent.globalannounces it worldwide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
borderScope
VirtualEdgeNetworkGatewayRouteRibEntry.Builder borderScope(VirtualEdgeNetworkGatewayRouteBorderScope borderScope) The scope of the route announcement on the Amazon Web Services network.
regionannounces it within the edge location's Amazon Web Services Region.continentalannounces it within the edge location's continent.globalannounces it worldwide.- Parameters:
borderScope- The scope of the route announcement on the Amazon Web Services network.regionannounces it within the edge location's Amazon Web Services Region.continentalannounces it within the edge location's continent.globalannounces it worldwide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetScope
The scope of the route announcement on the internet.
cityannounces it to the internet from the edge location's metro only.- Parameters:
internetScope- The scope of the route announcement on the internet.cityannounces it to the internet from the edge location's metro only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
internetScope
VirtualEdgeNetworkGatewayRouteRibEntry.Builder internetScope(VirtualEdgeNetworkGatewayRouteInternetScope internetScope) The scope of the route announcement on the internet.
cityannounces it to the internet from the edge location's metro only.- Parameters:
internetScope- The scope of the route announcement on the internet.cityannounces it to the internet from the edge location's metro only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prependCount
The number of times the AS path is prepended for the route, from 1 to 3. The value is 0 for blackhole routes.
- Parameters:
prependCount- The number of times the AS path is prepended for the route, from 1 to 3. The value is 0 for blackhole routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routePreference
The route preference of the route.
- Parameters:
routePreference- The route preference of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
The origin of the route. Valid values:
-
create-virtual-edge-network-gateway-route– A static route. -
route-server-peer-endpoint-1– A route learned from a route server peer on route server endpoint 1. -
route-server-peer-endpoint-2– A route learned from a route server peer on route server endpoint 2.
- Parameters:
origin- The origin of the route. Valid values:-
create-virtual-edge-network-gateway-route– A static route. -
route-server-peer-endpoint-1– A route learned from a route server peer on route server endpoint 1. -
route-server-peer-endpoint-2– A route learned from a route server peer on route server endpoint 2.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
origin
The origin of the route. Valid values:
-
create-virtual-edge-network-gateway-route– A static route. -
route-server-peer-endpoint-1– A route learned from a route server peer on route server endpoint 1. -
route-server-peer-endpoint-2– A route learned from a route server peer on route server endpoint 2.
- Parameters:
origin- The origin of the route. Valid values:-
create-virtual-edge-network-gateway-route– A static route. -
route-server-peer-endpoint-1– A route learned from a route server peer on route server endpoint 1. -
route-server-peer-endpoint-2– A route learned from a route server peer on route server endpoint 2.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of a route learned from a route server peer. Valid values:
-
active– Both route server endpoints report the same route. -
mismatch– Only one route server endpoint reports the route, or the endpoints report different versions of it.
Static routes don't have a status.
- Parameters:
status- The status of a route learned from a route server peer. Valid values:-
active– Both route server endpoints report the same route. -
mismatch– Only one route server endpoint reports the route, or the endpoints report different versions of it.
Static routes don't have a status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of a route learned from a route server peer. Valid values:
-
active– Both route server endpoints report the same route. -
mismatch– Only one route server endpoint reports the route, or the endpoints report different versions of it.
Static routes don't have a status.
- Parameters:
status- The status of a route learned from a route server peer. Valid values:-
active– Both route server endpoints report the same route. -
mismatch– Only one route server endpoint reports the route, or the endpoints report different versions of it.
Static routes don't have a status.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
asPathLength
The length of the BGP AS path of the route.
- Parameters:
asPathLength- The length of the BGP AS path of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
med
The BGP multi-exit discriminator (MED) of the route.
- Parameters:
med- The BGP multi-exit discriminator (MED) of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localPref
The BGP local preference of the route.
- Parameters:
localPref- The BGP local preference of the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mtu
The maximum transmission unit (MTU), in bytes, for the route.
- Parameters:
mtu- The maximum transmission unit (MTU), in bytes, for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filtered
Indicates whether the route is filtered out of the forwarding information base (FIB).
- Parameters:
filtered- Indicates whether the route is filtered out of the forwarding information base (FIB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filteredReason
The reason that the route is filtered out of the FIB.
-
another-route-preferred– BGP best-path selection prefers another route for the same prefix (higher local preference, shorter AS path, or lower MED). -
bogon-or-martian– The route is for a bogon or martian prefix (an address range that shouldn't appear on the public internet) and is announced beyond the virtual edge network. Bogon prefixes include 0.0.0.0/0, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/0, 2001:db8::/32, and fc00::/7. -
dampened– The route is suppressed because it was repeatedly announced and withdrawn. -
internal-error– The route is filtered because of an internal error. -
invalid-prepend-value– The AS path prepend value is invalid. The prepend value must be between 1 and 3. -
invalid-scope-community-value– The route carries a community with ASN 16509 and an unsupported function or value, or a public prefix doesn't carry an announcement community. The supported announcement communities are16509:1:1000000,16509:1:2100000,16509:1:2200000,16509:1:2300000,16509:1:3110000,16509:1:3210000, and16509:1:3310000. -
prefix-length-exceeded– The route is more specific than the maximum prefix length of the route filter or the maximum prefix length for its announcement target. The maximum prefix length for IPv4 is /32 forlocal, /28 foraws-global-network, and /24 forinternet. For IPv6, the maximum prefix length is /128 forlocal, /64 foraws-global-network, and /48 forinternet. -
prefix-limit-exceeded– The secondary network has reached the maximum number of routes learned from route server peers for the announcement target. -
prefix-not-allowed– The route is for a public prefix that isn't covered by an allowed advertisement of the virtual edge network gateway. -
private-prefix-requires-community– The route is for a private prefix and isn't limited to the virtual edge network. Private prefixes are 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 100.64.0.0/10 for IPv4, and unique local address prefixes in fd00::/8 outside fd00::/16 for IPv6. A private prefix must carry theNO_EXPORTcommunity, the blackhole community65535:666, or the community16509:1:1000000. -
route-propagation-disabled– Route propagation is disabled for the route table association. -
transit-violation– A prefix learned from Direct Connect is re-advertised beyond the virtual edge network.
- Parameters:
filteredReason- The reason that the route is filtered out of the FIB.-
another-route-preferred– BGP best-path selection prefers another route for the same prefix (higher local preference, shorter AS path, or lower MED). -
bogon-or-martian– The route is for a bogon or martian prefix (an address range that shouldn't appear on the public internet) and is announced beyond the virtual edge network. Bogon prefixes include 0.0.0.0/0, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/0, 2001:db8::/32, and fc00::/7. -
dampened– The route is suppressed because it was repeatedly announced and withdrawn. -
internal-error– The route is filtered because of an internal error. -
invalid-prepend-value– The AS path prepend value is invalid. The prepend value must be between 1 and 3. -
invalid-scope-community-value– The route carries a community with ASN 16509 and an unsupported function or value, or a public prefix doesn't carry an announcement community. The supported announcement communities are16509:1:1000000,16509:1:2100000,16509:1:2200000,16509:1:2300000,16509:1:3110000,16509:1:3210000, and16509:1:3310000. -
prefix-length-exceeded– The route is more specific than the maximum prefix length of the route filter or the maximum prefix length for its announcement target. The maximum prefix length for IPv4 is /32 forlocal, /28 foraws-global-network, and /24 forinternet. For IPv6, the maximum prefix length is /128 forlocal, /64 foraws-global-network, and /48 forinternet. -
prefix-limit-exceeded– The secondary network has reached the maximum number of routes learned from route server peers for the announcement target. -
prefix-not-allowed– The route is for a public prefix that isn't covered by an allowed advertisement of the virtual edge network gateway. -
private-prefix-requires-community– The route is for a private prefix and isn't limited to the virtual edge network. Private prefixes are 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 100.64.0.0/10 for IPv4, and unique local address prefixes in fd00::/8 outside fd00::/16 for IPv6. A private prefix must carry theNO_EXPORTcommunity, the blackhole community65535:666, or the community16509:1:1000000. -
route-propagation-disabled– Route propagation is disabled for the route table association. -
transit-violation– A prefix learned from Direct Connect is re-advertised beyond the virtual edge network.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
filteredReason
VirtualEdgeNetworkGatewayRouteRibEntry.Builder filteredReason(VirtualEdgeNetworkGatewayRouteFilteredReason filteredReason) The reason that the route is filtered out of the FIB.
-
another-route-preferred– BGP best-path selection prefers another route for the same prefix (higher local preference, shorter AS path, or lower MED). -
bogon-or-martian– The route is for a bogon or martian prefix (an address range that shouldn't appear on the public internet) and is announced beyond the virtual edge network. Bogon prefixes include 0.0.0.0/0, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/0, 2001:db8::/32, and fc00::/7. -
dampened– The route is suppressed because it was repeatedly announced and withdrawn. -
internal-error– The route is filtered because of an internal error. -
invalid-prepend-value– The AS path prepend value is invalid. The prepend value must be between 1 and 3. -
invalid-scope-community-value– The route carries a community with ASN 16509 and an unsupported function or value, or a public prefix doesn't carry an announcement community. The supported announcement communities are16509:1:1000000,16509:1:2100000,16509:1:2200000,16509:1:2300000,16509:1:3110000,16509:1:3210000, and16509:1:3310000. -
prefix-length-exceeded– The route is more specific than the maximum prefix length of the route filter or the maximum prefix length for its announcement target. The maximum prefix length for IPv4 is /32 forlocal, /28 foraws-global-network, and /24 forinternet. For IPv6, the maximum prefix length is /128 forlocal, /64 foraws-global-network, and /48 forinternet. -
prefix-limit-exceeded– The secondary network has reached the maximum number of routes learned from route server peers for the announcement target. -
prefix-not-allowed– The route is for a public prefix that isn't covered by an allowed advertisement of the virtual edge network gateway. -
private-prefix-requires-community– The route is for a private prefix and isn't limited to the virtual edge network. Private prefixes are 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 100.64.0.0/10 for IPv4, and unique local address prefixes in fd00::/8 outside fd00::/16 for IPv6. A private prefix must carry theNO_EXPORTcommunity, the blackhole community65535:666, or the community16509:1:1000000. -
route-propagation-disabled– Route propagation is disabled for the route table association. -
transit-violation– A prefix learned from Direct Connect is re-advertised beyond the virtual edge network.
- Parameters:
filteredReason- The reason that the route is filtered out of the FIB.-
another-route-preferred– BGP best-path selection prefers another route for the same prefix (higher local preference, shorter AS path, or lower MED). -
bogon-or-martian– The route is for a bogon or martian prefix (an address range that shouldn't appear on the public internet) and is announced beyond the virtual edge network. Bogon prefixes include 0.0.0.0/0, 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/0, 2001:db8::/32, and fc00::/7. -
dampened– The route is suppressed because it was repeatedly announced and withdrawn. -
internal-error– The route is filtered because of an internal error. -
invalid-prepend-value– The AS path prepend value is invalid. The prepend value must be between 1 and 3. -
invalid-scope-community-value– The route carries a community with ASN 16509 and an unsupported function or value, or a public prefix doesn't carry an announcement community. The supported announcement communities are16509:1:1000000,16509:1:2100000,16509:1:2200000,16509:1:2300000,16509:1:3110000,16509:1:3210000, and16509:1:3310000. -
prefix-length-exceeded– The route is more specific than the maximum prefix length of the route filter or the maximum prefix length for its announcement target. The maximum prefix length for IPv4 is /32 forlocal, /28 foraws-global-network, and /24 forinternet. For IPv6, the maximum prefix length is /128 forlocal, /64 foraws-global-network, and /48 forinternet. -
prefix-limit-exceeded– The secondary network has reached the maximum number of routes learned from route server peers for the announcement target. -
prefix-not-allowed– The route is for a public prefix that isn't covered by an allowed advertisement of the virtual edge network gateway. -
private-prefix-requires-community– The route is for a private prefix and isn't limited to the virtual edge network. Private prefixes are 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, and 100.64.0.0/10 for IPv4, and unique local address prefixes in fd00::/8 outside fd00::/16 for IPv6. A private prefix must carry theNO_EXPORTcommunity, the blackhole community65535:666, or the community16509:1:1000000. -
route-propagation-disabled– Route propagation is disabled for the route table association. -
transit-violation– A prefix learned from Direct Connect is re-advertised beyond the virtual edge network.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-