Interface EC2ReplaceRouteAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2ReplaceRouteAction.Builder,EC2ReplaceRouteAction>,SdkBuilder<EC2ReplaceRouteAction.Builder,EC2ReplaceRouteAction>,SdkPojo
- Enclosing class:
- EC2ReplaceRouteAction
public static interface EC2ReplaceRouteAction.Builder extends SdkPojo, CopyableBuilder<EC2ReplaceRouteAction.Builder,EC2ReplaceRouteAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EC2ReplaceRouteAction.Builderdescription(String description)A description of the ReplaceRoute action in Amazon EC2.EC2ReplaceRouteAction.BuilderdestinationCidrBlock(String destinationCidrBlock)Information about the IPv4 CIDR address block used for the destination match.EC2ReplaceRouteAction.BuilderdestinationIpv6CidrBlock(String destinationIpv6CidrBlock)Information about the IPv6 CIDR address block used for the destination match.EC2ReplaceRouteAction.BuilderdestinationPrefixListId(String destinationPrefixListId)Information about the ID of the prefix list for the route.default EC2ReplaceRouteAction.BuildergatewayId(Consumer<ActionTarget.Builder> gatewayId)Information about the ID of an internet gateway or virtual private gateway.EC2ReplaceRouteAction.BuildergatewayId(ActionTarget gatewayId)Information about the ID of an internet gateway or virtual private gateway.default EC2ReplaceRouteAction.BuilderrouteTableId(Consumer<ActionTarget.Builder> routeTableId)Information about the ID of the route table.EC2ReplaceRouteAction.BuilderrouteTableId(ActionTarget routeTableId)Information about the ID of the route table.-
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, sdkFields
-
-
-
-
Method Detail
-
description
EC2ReplaceRouteAction.Builder description(String description)
A description of the ReplaceRoute action in Amazon EC2.
- Parameters:
description- A description of the ReplaceRoute action in Amazon EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCidrBlock
EC2ReplaceRouteAction.Builder destinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
- Parameters:
destinationCidrBlock- Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPrefixListId
EC2ReplaceRouteAction.Builder destinationPrefixListId(String destinationPrefixListId)
Information about the ID of the prefix list for the route.
- Parameters:
destinationPrefixListId- Information about the ID of the prefix list for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIpv6CidrBlock
EC2ReplaceRouteAction.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
- Parameters:
destinationIpv6CidrBlock- Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
EC2ReplaceRouteAction.Builder gatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
- Parameters:
gatewayId- Information about the ID of an internet gateway or virtual private gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
default EC2ReplaceRouteAction.Builder gatewayId(Consumer<ActionTarget.Builder> gatewayId)
Information about the ID of an internet gateway or virtual private gateway.
This is a convenience method that creates an instance of theActionTarget.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayId(ActionTarget).- Parameters:
gatewayId- a consumer that will call methods onActionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gatewayId(ActionTarget)
-
routeTableId
EC2ReplaceRouteAction.Builder routeTableId(ActionTarget routeTableId)
Information about the ID of the route table.
- Parameters:
routeTableId- Information about the ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
default EC2ReplaceRouteAction.Builder routeTableId(Consumer<ActionTarget.Builder> routeTableId)
Information about the ID of the route table.
This is a convenience method that creates an instance of theActionTarget.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteTableId(ActionTarget).- Parameters:
routeTableId- a consumer that will call methods onActionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routeTableId(ActionTarget)
-
-