public static interface ClientVpnRoute.Builder extends SdkPojo, CopyableBuilder<ClientVpnRoute.Builder,ClientVpnRoute>
| Modifier and Type | Method and Description |
|---|---|
ClientVpnRoute.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint with which the route is associated.
|
ClientVpnRoute.Builder |
description(String description)
A brief description of the route.
|
ClientVpnRoute.Builder |
destinationCidr(String destinationCidr)
The IPv4 address range, in CIDR notation, of the route destination.
|
ClientVpnRoute.Builder |
origin(String origin)
Indicates how the route was associated with the Client VPN endpoint.
|
ClientVpnRoute.Builder |
status(ClientVpnRouteStatus status)
The current state of the route.
|
default ClientVpnRoute.Builder |
status(Consumer<ClientVpnRouteStatus.Builder> status)
The current state of the route.
|
ClientVpnRoute.Builder |
targetSubnet(String targetSubnet)
The ID of the subnet through which traffic is routed.
|
ClientVpnRoute.Builder |
type(String type)
The route type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClientVpnRoute.Builder clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint with which the route is associated.
clientVpnEndpointId - The ID of the Client VPN endpoint with which the route is associated.ClientVpnRoute.Builder destinationCidr(String destinationCidr)
The IPv4 address range, in CIDR notation, of the route destination.
destinationCidr - The IPv4 address range, in CIDR notation, of the route destination.ClientVpnRoute.Builder targetSubnet(String targetSubnet)
The ID of the subnet through which traffic is routed.
targetSubnet - The ID of the subnet through which traffic is routed.ClientVpnRoute.Builder type(String type)
The route type.
type - The route type.ClientVpnRoute.Builder origin(String origin)
Indicates how the route was associated with the Client VPN endpoint. associate indicates that
the route was automatically added when the target network was associated with the Client VPN endpoint.
add-route indicates that the route was manually added using the CreateClientVpnRoute
action.
origin - Indicates how the route was associated with the Client VPN endpoint. associate indicates
that the route was automatically added when the target network was associated with the Client VPN
endpoint. add-route indicates that the route was manually added using the
CreateClientVpnRoute action.ClientVpnRoute.Builder status(ClientVpnRouteStatus status)
The current state of the route.
status - The current state of the route.default ClientVpnRoute.Builder status(Consumer<ClientVpnRouteStatus.Builder> status)
The current state of the route.
This is a convenience that creates an instance of theClientVpnRouteStatus.Builder avoiding the need
to create one manually via ClientVpnRouteStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to status(ClientVpnRouteStatus).status - a consumer that will call methods on ClientVpnRouteStatus.Builderstatus(ClientVpnRouteStatus)ClientVpnRoute.Builder description(String description)
A brief description of the route.
description - A brief description of the route.Copyright © 2022. All rights reserved.