public static interface CreateClientVpnRouteRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateClientVpnRouteRequest.Builder,CreateClientVpnRouteRequest>
Modifier and Type | Method and Description |
---|---|
CreateClientVpnRouteRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateClientVpnRouteRequest.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
|
CreateClientVpnRouteRequest.Builder |
description(String description)
A brief description of the route.
|
CreateClientVpnRouteRequest.Builder |
destinationCidrBlock(String destinationCidrBlock)
The IPv4 address range, in CIDR notation, of the route destination.
|
CreateClientVpnRouteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateClientVpnRouteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateClientVpnRouteRequest.Builder |
targetVpcSubnetId(String targetVpcSubnetId)
The ID of the subnet through which you want to route traffic.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateClientVpnRouteRequest.Builder clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint to which to add the route.
clientVpnEndpointId
- The ID of the Client VPN endpoint to which to add the route.CreateClientVpnRouteRequest.Builder destinationCidrBlock(String destinationCidrBlock)
The IPv4 address range, in CIDR notation, of the route destination. For example:
To add a route for Internet access, enter 0.0.0.0/0
To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
destinationCidrBlock
- The IPv4 address range, in CIDR notation, of the route destination. For example:
To add a route for Internet access, enter 0.0.0.0/0
To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
To add a route for the local network, enter the client CIDR range
CreateClientVpnRouteRequest.Builder targetVpcSubnetId(String targetVpcSubnetId)
The ID of the subnet through which you want to route traffic. The specified subnet must be an existing target network of the Client VPN endpoint.
Alternatively, if you're adding a route for the local network, specify local
.
targetVpcSubnetId
- The ID of the subnet through which you want to route traffic. The specified subnet must be an existing
target network of the Client VPN endpoint.
Alternatively, if you're adding a route for the local network, specify local
.
CreateClientVpnRouteRequest.Builder description(String description)
A brief description of the route.
description
- A brief description of the route.CreateClientVpnRouteRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
Ensure Idempotency.CreateClientVpnRouteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateClientVpnRouteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.