@Stability(value=Stable) public static final class CfnVPNConnectionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVPNConnectionProps>
CfnVPNConnectionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnVPNConnectionProps.Builder customerGatewayId(String customerGatewayId)
CfnVPNConnectionProps.getCustomerGatewayId()customerGatewayId - The ID of the customer gateway at your end of the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder type(String type)
CfnVPNConnectionProps.getType()type - The type of VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder staticRoutesOnly(Boolean staticRoutesOnly)
CfnVPNConnectionProps.getStaticRoutesOnly()staticRoutesOnly - Indicates whether the VPN connection uses static routes only.
Static routes must be used for devices that don't support BGP.
If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify true .
this@Stability(value=Stable) public CfnVPNConnectionProps.Builder staticRoutesOnly(IResolvable staticRoutesOnly)
CfnVPNConnectionProps.getStaticRoutesOnly()staticRoutesOnly - Indicates whether the VPN connection uses static routes only.
Static routes must be used for devices that don't support BGP.
If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify true .
this@Stability(value=Stable) public CfnVPNConnectionProps.Builder tags(List<? extends CfnTag> tags)
CfnVPNConnectionProps.getTags()tags - Any tags assigned to the VPN connection.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder transitGatewayId(String transitGatewayId)
CfnVPNConnectionProps.getTransitGatewayId()transitGatewayId - The ID of the transit gateway associated with the VPN connection.
You must specify either TransitGatewayId or VpnGatewayId , but not both.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder vpnGatewayId(String vpnGatewayId)
CfnVPNConnectionProps.getVpnGatewayId()vpnGatewayId - The ID of the virtual private gateway at the AWS side of the VPN connection.
You must specify either TransitGatewayId or VpnGatewayId , but not both.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder vpnTunnelOptionsSpecifications(IResolvable vpnTunnelOptionsSpecifications)
CfnVPNConnectionProps.getVpnTunnelOptionsSpecifications()vpnTunnelOptionsSpecifications - The tunnel options for the VPN connection.this@Stability(value=Stable) public CfnVPNConnectionProps.Builder vpnTunnelOptionsSpecifications(List<? extends Object> vpnTunnelOptionsSpecifications)
CfnVPNConnectionProps.getVpnTunnelOptionsSpecifications()vpnTunnelOptionsSpecifications - The tunnel options for the VPN connection.this@Stability(value=Stable) public CfnVPNConnectionProps build()
build in interface software.amazon.jsii.Builder<CfnVPNConnectionProps>CfnVPNConnectionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.