public static interface VpnConnectionOptions.Builder extends SdkPojo, CopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptions.Builder |
staticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
VpnConnectionOptions.Builder |
tunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
|
VpnConnectionOptions.Builder |
tunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)
Indicates the VPN tunnel options.
|
VpnConnectionOptions.Builder |
tunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VpnConnectionOptions.Builder staticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
staticRoutesOnly
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices
that don't support BGP.VpnConnectionOptions.Builder tunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.VpnConnectionOptions.Builder tunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.VpnConnectionOptions.Builder tunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)
Indicates the VPN tunnel options.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #tunnelOptions(List)
.tunnelOptions
- a consumer that will call methods on List.Builder
#tunnelOptions(List)
Copyright © 2019. All rights reserved.