@Stability(value=Stable) public static final class VpnTunnelOption.Builder extends Object implements software.amazon.jsii.Builder<VpnTunnelOption>
VpnTunnelOption| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpnTunnelOption |
build()
Builds the configured instance.
|
VpnTunnelOption.Builder |
preSharedKey(String preSharedKey)
Deprecated.
Use `preSharedKeySecret` instead
|
VpnTunnelOption.Builder |
preSharedKeySecret(SecretValue preSharedKeySecret)
Sets the value of
VpnTunnelOption.getPreSharedKeySecret() |
VpnTunnelOption.Builder |
tunnelInsideCidr(String tunnelInsideCidr)
Sets the value of
VpnTunnelOption.getTunnelInsideCidr() |
@Stability(value=Deprecated) @Deprecated public VpnTunnelOption.Builder preSharedKey(String preSharedKey)
VpnTunnelOption.getPreSharedKey()preSharedKey - The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
Allowed characters are
alphanumeric characters period . and underscores _. Must be between 8
and 64 characters in length and cannot start with zero (0).this@Stability(value=Stable) public VpnTunnelOption.Builder preSharedKeySecret(SecretValue preSharedKeySecret)
VpnTunnelOption.getPreSharedKeySecret()preSharedKeySecret - The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
Allowed characters are
alphanumeric characters period . and underscores _. Must be between 8
and 64 characters in length and cannot start with zero (0).this@Stability(value=Stable) public VpnTunnelOption.Builder tunnelInsideCidr(String tunnelInsideCidr)
VpnTunnelOption.getTunnelInsideCidr()tunnelInsideCidr - The range of inside IP addresses for the tunnel.
Any specified CIDR blocks must be
unique across all VPN connections that use the same virtual private gateway.
A size /30 CIDR block from the 169.254.0.0/16 range.this@Stability(value=Stable) public VpnTunnelOption build()
build in interface software.amazon.jsii.Builder<VpnTunnelOption>VpnTunnelOptionNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.