@Stability(value=Stable) public static final class CfnClientVpnRouteProps.Builder extends Object implements software.amazon.jsii.Builder<CfnClientVpnRouteProps>
CfnClientVpnRouteProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnClientVpnRouteProps |
build()
Builds the configured instance.
|
CfnClientVpnRouteProps.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
Sets the value of
CfnClientVpnRouteProps.getClientVpnEndpointId() |
CfnClientVpnRouteProps.Builder |
description(String description)
Sets the value of
CfnClientVpnRouteProps.getDescription() |
CfnClientVpnRouteProps.Builder |
destinationCidrBlock(String destinationCidrBlock)
Sets the value of
CfnClientVpnRouteProps.getDestinationCidrBlock() |
CfnClientVpnRouteProps.Builder |
targetVpcSubnetId(String targetVpcSubnetId)
Sets the value of
CfnClientVpnRouteProps.getTargetVpcSubnetId() |
@Stability(value=Stable) public CfnClientVpnRouteProps.Builder clientVpnEndpointId(String clientVpnEndpointId)
CfnClientVpnRouteProps.getClientVpnEndpointId()clientVpnEndpointId - The ID of the Client VPN endpoint to which to add the route. This parameter is required.this@Stability(value=Stable) public CfnClientVpnRouteProps.Builder destinationCidrBlock(String destinationCidrBlock)
CfnClientVpnRouteProps.getDestinationCidrBlock()destinationCidrBlock - The IPv4 address range, in CIDR notation, of the route destination. For example:. This parameter is required.
0.0.0.0/0this@Stability(value=Stable) public CfnClientVpnRouteProps.Builder targetVpcSubnetId(String targetVpcSubnetId)
CfnClientVpnRouteProps.getTargetVpcSubnetId()targetVpcSubnetId - The ID of the subnet through which you want to route traffic. This parameter is required.
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 .
this@Stability(value=Stable) public CfnClientVpnRouteProps.Builder description(String description)
CfnClientVpnRouteProps.getDescription()description - A brief description of the route.this@Stability(value=Stable) public CfnClientVpnRouteProps build()
build in interface software.amazon.jsii.Builder<CfnClientVpnRouteProps>CfnClientVpnRoutePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.