public static interface CreateRouteRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateRouteRequest.Builder,CreateRouteRequest>
Modifier and Type | Method and Description |
---|---|
CreateRouteRequest.Builder |
carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
|
CreateRouteRequest.Builder |
coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
|
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 |
destinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list 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 |
localGatewayId(String localGatewayId)
The ID of the local gateway.
|
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) |
CreateRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateRouteRequest.Builder |
routeTableId(String routeTableId)
The ID of the route table for the route.
|
CreateRouteRequest.Builder |
transitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
CreateRouteRequest.Builder |
vpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.
|
CreateRouteRequest.Builder |
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
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. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match. We modify the specified CIDR block to its canonical form; for example, if you specify
100.68.0.18/18
, we modify it to 100.68.0.0/18
.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 destinationPrefixListId(String destinationPrefixListId)
The ID of a prefix list used for the destination match.
destinationPrefixListId
- The ID of a prefix list used for the destination match.CreateRouteRequest.Builder vpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
vpcEndpointId
- The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.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 transitGatewayId(String transitGatewayId)
The ID of a transit gateway.
transitGatewayId
- The ID of a transit gateway.CreateRouteRequest.Builder localGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.CreateRouteRequest.Builder carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
carrierGatewayId
- The ID of the carrier gateway.
You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.
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 coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.CreateRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.