Interface VirtualEdgeNetworkGatewayRouteFibEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VirtualEdgeNetworkGatewayRouteFibEntry.Builder,,VirtualEdgeNetworkGatewayRouteFibEntry> SdkBuilder<VirtualEdgeNetworkGatewayRouteFibEntry.Builder,,VirtualEdgeNetworkGatewayRouteFibEntry> SdkPojo
- Enclosing class:
VirtualEdgeNetworkGatewayRouteFibEntry
-
Method Summary
Modifier and TypeMethodDescriptionipv4DestinationCidrBlock(String ipv4DestinationCidrBlock) The IPv4 CIDR block used for the destination match.ipv6DestinationCidrBlock(String ipv6DestinationCidrBlock) The IPv6 CIDR block used for the destination match.The maximum transmission unit (MTU), in bytes, for the route.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
VirtualEdgeNetworkGatewayRouteFibEntry.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
VirtualEdgeNetworkGatewayRouteFibEntry.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
VirtualEdgeNetworkGatewayRouteFibEntry.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
VirtualEdgeNetworkGatewayRouteFibEntry.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
VirtualEdgeNetworkGatewayRouteFibEntry.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
VirtualEdgeNetworkGatewayRouteFibEntry.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:
-
-
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.
-