public static interface CreateRouteRequest.Builder extends Ec2Request.Builder, CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
Modifier and Type | Method and Description |
---|---|
CreateRouteRequest.Builder |
destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.
|
CreateRouteRequest.Builder |
destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
CreateRouteRequest.Builder |
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
CreateRouteRequest.Builder |
gatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
|
CreateRouteRequest.Builder |
instanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
CreateRouteRequest.Builder |
natGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
|
CreateRouteRequest.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
CreateRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateRouteRequest.Builder |
routeTableId(String routeTableId)
The ID of the route table for the route.
|
CreateRouteRequest.Builder |
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
build
overrideConfiguration
copy
applyMutation, build
CreateRouteRequest.Builder destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match.CreateRouteRequest.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific
match.CreateRouteRequest.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only Internet gateway.CreateRouteRequest.Builder gatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
gatewayId
- The ID of an Internet gateway or virtual private gateway attached to your VPC.CreateRouteRequest.Builder instanceId(String instanceId)
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
instanceId
- The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly
one network interface is attached.CreateRouteRequest.Builder natGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
natGatewayId
- [IPv4 traffic only] The ID of a NAT gateway.CreateRouteRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.CreateRouteRequest.Builder routeTableId(String routeTableId)
The ID of the route table for the route.
routeTableId
- The ID of the route table for the route.CreateRouteRequest.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.