public static interface VpnConnectionOptionsSpecification.Builder extends CopyableBuilder<VpnConnectionOptionsSpecification.Builder,VpnConnectionOptionsSpecification>
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptionsSpecification.Builder |
staticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(Consumer<VpnTunnelOptionsSpecification.Builder>... tunnelOptions)
The tunnel options for the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
|
copy
applyMutation, build
VpnConnectionOptionsSpecification.Builder staticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a
device that does not support BGP, you must specify true
.
Default: false
staticRoutesOnly
- Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for
a device that does not support BGP, you must specify true
.
Default: false
VpnConnectionOptionsSpecification.Builder tunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions
- The tunnel options for the VPN connection.VpnConnectionOptionsSpecification.Builder tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions
- The tunnel options for the VPN connection.VpnConnectionOptionsSpecification.Builder tunnelOptions(Consumer<VpnTunnelOptionsSpecification.Builder>... tunnelOptions)
The tunnel options for the VPN connection.
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.