@Stability(value=Stable) public static final class ClientVpnRoute.Builder extends Object implements software.amazon.jsii.Builder<ClientVpnRoute>
ClientVpnRoute.| Modifier and Type | Method and Description |
|---|---|
ClientVpnRoute |
build() |
ClientVpnRoute.Builder |
cidr(String cidr)
The IPv4 address range, in CIDR notation, of the route destination.
|
ClientVpnRoute.Builder |
clientVpnEndpoint(IClientVpnEndpoint clientVpnEndpoint)
The client VPN endpoint to which to add the route.
|
static ClientVpnRoute.Builder |
create(software.constructs.Construct scope,
String id) |
ClientVpnRoute.Builder |
description(String description)
A brief description of the authorization rule.
|
ClientVpnRoute.Builder |
target(ClientVpnRouteTarget target)
The target for the route.
|
@Stability(value=Stable) public static ClientVpnRoute.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ClientVpnRoute.Builder.@Stability(value=Stable) public ClientVpnRoute.Builder cidr(String cidr)
For example:
cidr - The IPv4 address range, in CIDR notation, of the route destination. This parameter is required.this@Stability(value=Stable) public ClientVpnRoute.Builder target(ClientVpnRouteTarget target)
target - The target for the route. This parameter is required.this@Stability(value=Stable) public ClientVpnRoute.Builder description(String description)
Default: - no description
description - A brief description of the authorization rule. This parameter is required.this@Stability(value=Stable) public ClientVpnRoute.Builder clientVpnEndpoint(IClientVpnEndpoint clientVpnEndpoint)
Default: clientVpnEndpoint is required
clientVpnEndpoint - The client VPN endpoint to which to add the route. This parameter is required.this@Stability(value=Stable) public ClientVpnRoute build()
build in interface software.amazon.jsii.Builder<ClientVpnRoute>Copyright © 2022. All rights reserved.