Interface EC2CreateRouteAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2CreateRouteAction.Builder,EC2CreateRouteAction>,SdkBuilder<EC2CreateRouteAction.Builder,EC2CreateRouteAction>,SdkPojo
- Enclosing class:
- EC2CreateRouteAction
public static interface EC2CreateRouteAction.Builder extends SdkPojo, CopyableBuilder<EC2CreateRouteAction.Builder,EC2CreateRouteAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EC2CreateRouteAction.Builderdescription(String description)A description of CreateRoute action in Amazon EC2.EC2CreateRouteAction.BuilderdestinationCidrBlock(String destinationCidrBlock)Information about the IPv4 CIDR address block used for the destination match.EC2CreateRouteAction.BuilderdestinationIpv6CidrBlock(String destinationIpv6CidrBlock)Information about the IPv6 CIDR block destination.EC2CreateRouteAction.BuilderdestinationPrefixListId(String destinationPrefixListId)Information about the ID of a prefix list used for the destination match.default EC2CreateRouteAction.BuildergatewayId(Consumer<ActionTarget.Builder> gatewayId)Information about the ID of an internet gateway or virtual private gateway attached to your VPC.EC2CreateRouteAction.BuildergatewayId(ActionTarget gatewayId)Information about the ID of an internet gateway or virtual private gateway attached to your VPC.default EC2CreateRouteAction.BuilderrouteTableId(Consumer<ActionTarget.Builder> routeTableId)Information about the ID of the route table for the route.EC2CreateRouteAction.BuilderrouteTableId(ActionTarget routeTableId)Information about the ID of the route table for the route.default EC2CreateRouteAction.BuildervpcEndpointId(Consumer<ActionTarget.Builder> vpcEndpointId)Information about the ID of a VPC endpoint.EC2CreateRouteAction.BuildervpcEndpointId(ActionTarget vpcEndpointId)Information about the ID of a VPC endpoint.-
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
EC2CreateRouteAction.Builder description(String description)
A description of CreateRoute action in Amazon EC2.
- Parameters:
description- A description of CreateRoute action in Amazon EC2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCidrBlock
EC2CreateRouteAction.Builder destinationCidrBlock(String destinationCidrBlock)
Information about the IPv4 CIDR address block used for the destination match.
- Parameters:
destinationCidrBlock- Information about the IPv4 CIDR address block used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPrefixListId
EC2CreateRouteAction.Builder destinationPrefixListId(String destinationPrefixListId)
Information about the ID of a prefix list used for the destination match.
- Parameters:
destinationPrefixListId- Information about the ID of a prefix list used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIpv6CidrBlock
EC2CreateRouteAction.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
Information about the IPv6 CIDR block destination.
- Parameters:
destinationIpv6CidrBlock- Information about the IPv6 CIDR block destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
EC2CreateRouteAction.Builder vpcEndpointId(ActionTarget vpcEndpointId)
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
- Parameters:
vpcEndpointId- Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
default EC2CreateRouteAction.Builder vpcEndpointId(Consumer<ActionTarget.Builder> vpcEndpointId)
Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
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 tovpcEndpointId(ActionTarget).- Parameters:
vpcEndpointId- 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:
vpcEndpointId(ActionTarget)
-
gatewayId
EC2CreateRouteAction.Builder gatewayId(ActionTarget gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
- Parameters:
gatewayId- Information about the ID of an internet gateway or virtual private gateway attached to your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
default EC2CreateRouteAction.Builder gatewayId(Consumer<ActionTarget.Builder> gatewayId)
Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
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
EC2CreateRouteAction.Builder routeTableId(ActionTarget routeTableId)
Information about the ID of the route table for the route.
- Parameters:
routeTableId- Information about the ID of the route table for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
default EC2CreateRouteAction.Builder routeTableId(Consumer<ActionTarget.Builder> routeTableId)
Information about the ID of the route table for the route.
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)
-
-