Interface EC2DeleteRouteAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2DeleteRouteAction.Builder,EC2DeleteRouteAction>,SdkBuilder<EC2DeleteRouteAction.Builder,EC2DeleteRouteAction>,SdkPojo
- Enclosing class:
- EC2DeleteRouteAction
public static interface EC2DeleteRouteAction.Builder extends SdkPojo, CopyableBuilder<EC2DeleteRouteAction.Builder,EC2DeleteRouteAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EC2DeleteRouteAction.Builderdescription(String description)A description of the DeleteRoute action.EC2DeleteRouteAction.BuilderdestinationCidrBlock(String destinationCidrBlock)Information about the IPv4 CIDR range for the route.EC2DeleteRouteAction.BuilderdestinationIpv6CidrBlock(String destinationIpv6CidrBlock)Information about the IPv6 CIDR range for the route.EC2DeleteRouteAction.BuilderdestinationPrefixListId(String destinationPrefixListId)Information about the ID of the prefix list for the route.default EC2DeleteRouteAction.BuilderrouteTableId(Consumer<ActionTarget.Builder> routeTableId)Information about the ID of the route table.EC2DeleteRouteAction.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
EC2DeleteRouteAction.Builder description(String description)
A description of the DeleteRoute action.
- Parameters:
description- A description of the DeleteRoute action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCidrBlock
EC2DeleteRouteAction.Builder destinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
- Parameters:
destinationCidrBlock- Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPrefixListId
EC2DeleteRouteAction.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
EC2DeleteRouteAction.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
- Parameters:
destinationIpv6CidrBlock- Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
EC2DeleteRouteAction.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 EC2DeleteRouteAction.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)
-
-