@Stability(value=Experimental) public static final class VpnConnectionOptions.Builder extends Object implements software.amazon.jsii.Builder<VpnConnectionOptions>
VpnConnectionOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpnConnectionOptions.Builder |
asn(Number asn)
Sets the value of
VpnConnectionOptions.getAsn() |
VpnConnectionOptions |
build()
Builds the configured instance.
|
VpnConnectionOptions.Builder |
ip(String ip)
Sets the value of
VpnConnectionOptions.getIp() |
VpnConnectionOptions.Builder |
staticRoutes(List<String> staticRoutes)
Sets the value of
VpnConnectionOptions.getStaticRoutes() |
VpnConnectionOptions.Builder |
tunnelOptions(List<? extends VpnTunnelOption> tunnelOptions)
Sets the value of
VpnConnectionOptions.getTunnelOptions() |
@Stability(value=Experimental) public VpnConnectionOptions.Builder ip(String ip)
VpnConnectionOptions.getIp()ip - The ip address of the customer gateway. This parameter is required.this@Stability(value=Experimental) public VpnConnectionOptions.Builder asn(Number asn)
VpnConnectionOptions.getAsn()asn - The ASN of the customer gateway.this@Stability(value=Experimental) public VpnConnectionOptions.Builder staticRoutes(List<String> staticRoutes)
VpnConnectionOptions.getStaticRoutes()staticRoutes - The static routes to be routed from the VPN gateway to the customer gateway.this@Stability(value=Experimental) public VpnConnectionOptions.Builder tunnelOptions(List<? extends VpnTunnelOption> tunnelOptions)
VpnConnectionOptions.getTunnelOptions()tunnelOptions - The tunnel options for the VPN connection.
At most two elements (one per tunnel).
Duplicates not allowed.this@Stability(value=Experimental) public VpnConnectionOptions build()
build in interface software.amazon.jsii.Builder<VpnConnectionOptions>VpnConnectionOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.