Interface VirtualEdgeNetworkGatewayRouteRibEntry.Builder

  • 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

      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

      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

      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

      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.

      This is a convenience method that creates an instance of the VirtualEdgeNetworkGatewayRouteTarget.Builder avoiding the need to create one manually via VirtualEdgeNetworkGatewayRouteTarget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<VirtualEdgeNetworkGatewayRouteTarget>).

      Parameters:
      targets - a consumer that will call methods on VirtualEdgeNetworkGatewayRouteTarget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • announcementTarget

      VirtualEdgeNetworkGatewayRouteRibEntry.Builder announcementTarget(String announcementTarget)

      The highest target to which the route is announced. local announces the route within the virtual edge network only. aws-global-network also announces it to the Amazon Web Services global network. internet also announces it to the internet.

      Parameters:
      announcementTarget - The highest target to which the route is announced. local announces the route within the virtual edge network only. aws-global-network also announces it to the Amazon Web Services global network. internet also announces it to the internet.
      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. local announces the route within the virtual edge network only. aws-global-network also announces it to the Amazon Web Services global network. internet also announces it to the internet.

      Parameters:
      announcementTarget - The highest target to which the route is announced. local announces the route within the virtual edge network only. aws-global-network also announces it to the Amazon Web Services global network. internet also 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. region announces it within the edge location's Amazon Web Services Region. continental announces it within the edge location's continent. global announces it worldwide.

      Parameters:
      borderScope - The scope of the route announcement on the Amazon Web Services network. region announces it within the edge location's Amazon Web Services Region. continental announces it within the edge location's continent. global announces it worldwide.
      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. region announces it within the edge location's Amazon Web Services Region. continental announces it within the edge location's continent. global announces it worldwide.

      Parameters:
      borderScope - The scope of the route announcement on the Amazon Web Services network. region announces it within the edge location's Amazon Web Services Region. continental announces it within the edge location's continent. global announces 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. city announces it to the internet from the edge location's metro only.

      Parameters:
      internetScope - The scope of the route announcement on the internet. city announces 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

      The scope of the route announcement on the internet. city announces it to the internet from the edge location's metro only.

      Parameters:
      internetScope - The scope of the route announcement on the internet. city announces 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

      VirtualEdgeNetworkGatewayRouteRibEntry.Builder routePreference(Integer 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 are 16509:1:1000000, 16509:1:2100000, 16509:1:2200000, 16509:1:2300000, 16509:1:3110000, 16509:1:3210000, and 16509: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 for local, /28 for aws-global-network, and /24 for internet. For IPv6, the maximum prefix length is /128 for local, /64 for aws-global-network, and /48 for internet.

      • 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 the NO_EXPORT community, the blackhole community 65535:666, or the community 16509: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 are 16509:1:1000000, 16509:1:2100000, 16509:1:2200000, 16509:1:2300000, 16509:1:3110000, 16509:1:3210000, and 16509: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 for local, /28 for aws-global-network, and /24 for internet. For IPv6, the maximum prefix length is /128 for local, /64 for aws-global-network, and /48 for internet.

      • 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 the NO_EXPORT community, the blackhole community 65535:666, or the community 16509: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

      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 are 16509:1:1000000, 16509:1:2100000, 16509:1:2200000, 16509:1:2300000, 16509:1:3110000, 16509:1:3210000, and 16509: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 for local, /28 for aws-global-network, and /24 for internet. For IPv6, the maximum prefix length is /128 for local, /64 for aws-global-network, and /48 for internet.

      • 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 the NO_EXPORT community, the blackhole community 65535:666, or the community 16509: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 are 16509:1:1000000, 16509:1:2100000, 16509:1:2200000, 16509:1:2300000, 16509:1:3110000, 16509:1:3210000, and 16509: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 for local, /28 for aws-global-network, and /24 for internet. For IPv6, the maximum prefix length is /128 for local, /64 for aws-global-network, and /48 for internet.

      • 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 the NO_EXPORT community, the blackhole community 65535:666, or the community 16509: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: