Interface ReplaceRouteRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ReplaceRouteRequest.Builder,ReplaceRouteRequest>
,Ec2Request.Builder
,SdkBuilder<ReplaceRouteRequest.Builder,ReplaceRouteRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ReplaceRouteRequest
public static interface ReplaceRouteRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ReplaceRouteRequest.Builder,ReplaceRouteRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplaceRouteRequest.Builder
carrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.ReplaceRouteRequest.Builder
coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.ReplaceRouteRequest.Builder
destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.ReplaceRouteRequest.Builder
destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR address block used for the destination match.ReplaceRouteRequest.Builder
destinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.ReplaceRouteRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ReplaceRouteRequest.Builder
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only internet gateway.ReplaceRouteRequest.Builder
gatewayId(String gatewayId)
The ID of an internet gateway or virtual private gateway.ReplaceRouteRequest.Builder
instanceId(String instanceId)
The ID of a NAT instance in your VPC.ReplaceRouteRequest.Builder
localGatewayId(String localGatewayId)
The ID of the local gateway.ReplaceRouteRequest.Builder
localTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (local
).ReplaceRouteRequest.Builder
natGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.ReplaceRouteRequest.Builder
networkInterfaceId(String networkInterfaceId)
The ID of a network interface.ReplaceRouteRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ReplaceRouteRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ReplaceRouteRequest.Builder
routeTableId(String routeTableId)
The ID of the route table.ReplaceRouteRequest.Builder
transitGatewayId(String transitGatewayId)
The ID of a transit gateway.ReplaceRouteRequest.Builder
vpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint.ReplaceRouteRequest.Builder
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
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
-
destinationCidrBlock
ReplaceRouteRequest.Builder destinationCidrBlock(String destinationCidrBlock)
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
- 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.
-
destinationIpv6CidrBlock
ReplaceRouteRequest.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
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
- 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.
-
destinationPrefixListId
ReplaceRouteRequest.Builder destinationPrefixListId(String destinationPrefixListId)
The ID of the prefix list for the route.
- Parameters:
destinationPrefixListId
- The ID of the prefix list for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
ReplaceRouteRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
ReplaceRouteRequest.Builder vpcEndpointId(String vpcEndpointId)
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
- Parameters:
vpcEndpointId
- 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.
-
egressOnlyInternetGatewayId
ReplaceRouteRequest.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only internet gateway.
- Parameters:
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
ReplaceRouteRequest.Builder gatewayId(String gatewayId)
The ID of an internet gateway or virtual private gateway.
- Parameters:
gatewayId
- 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.
-
instanceId
ReplaceRouteRequest.Builder instanceId(String instanceId)
The ID of a NAT instance in your VPC.
- Parameters:
instanceId
- The ID of a NAT instance in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localTarget
ReplaceRouteRequest.Builder localTarget(Boolean localTarget)
Specifies whether to reset the local route to its default target (
local
).- Parameters:
localTarget
- Specifies whether to reset the local route to its default target (local
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayId
ReplaceRouteRequest.Builder natGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
- Parameters:
natGatewayId
- [IPv4 traffic only] The ID of a NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
ReplaceRouteRequest.Builder transitGatewayId(String transitGatewayId)
The ID of a transit gateway.
- Parameters:
transitGatewayId
- The ID of a transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayId
ReplaceRouteRequest.Builder localGatewayId(String localGatewayId)
The ID of the local gateway.
- Parameters:
localGatewayId
- The ID of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
carrierGatewayId
ReplaceRouteRequest.Builder carrierGatewayId(String carrierGatewayId)
[IPv4 traffic only] The ID of a carrier gateway.
- Parameters:
carrierGatewayId
- [IPv4 traffic only] The ID of a carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
ReplaceRouteRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of a network interface.
- Parameters:
networkInterfaceId
- The ID of a network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableId
ReplaceRouteRequest.Builder routeTableId(String routeTableId)
The ID of the route table.
- Parameters:
routeTableId
- The ID of the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcPeeringConnectionId
ReplaceRouteRequest.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of a VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkArn
ReplaceRouteRequest.Builder coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
- Parameters:
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ReplaceRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ReplaceRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-