@Stability(value=Stable) public static final class CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVPNConnection.VpnTunnelOptionsSpecificationProperty>
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty |
build()
Builds the configured instance.
|
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder |
preSharedKey(String preSharedKey)
Sets the value of
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.getPreSharedKey() |
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder |
tunnelInsideCidr(String tunnelInsideCidr)
|
@Stability(value=Stable) public CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder preSharedKey(String preSharedKey)
CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.getPreSharedKey()preSharedKey - The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).this@Stability(value=Stable) public CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder tunnelInsideCidr(String tunnelInsideCidr)
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.
Constraints: A size /30 CIDR block from the 169.254.0.0/16 range. The following CIDR blocks are reserved and cannot be used:
169.254.0.0/30169.254.1.0/30169.254.2.0/30169.254.3.0/30169.254.4.0/30169.254.5.0/30169.254.169.252/30this@Stability(value=Stable) public CfnVPNConnection.VpnTunnelOptionsSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnVPNConnection.VpnTunnelOptionsSpecificationProperty>CfnVPNConnection.VpnTunnelOptionsSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.