@Stability(value=Experimental) public static final class VpnConnectionAttributes.Builder extends Object implements software.amazon.jsii.Builder<VpnConnectionAttributes>
VpnConnectionAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpnConnectionAttributes |
build()
Builds the configured instance.
|
VpnConnectionAttributes.Builder |
customerGatewayAsn(Number customerGatewayAsn)
Sets the value of
VpnConnectionAttributes.getCustomerGatewayAsn() |
VpnConnectionAttributes.Builder |
customerGatewayId(String customerGatewayId)
Sets the value of
VpnConnectionAttributes.getCustomerGatewayId() |
VpnConnectionAttributes.Builder |
customerGatewayIp(String customerGatewayIp)
Sets the value of
VpnConnectionAttributes.getCustomerGatewayIp() |
VpnConnectionAttributes.Builder |
vpnId(String vpnId)
Sets the value of
VpnConnectionAttributes.getVpnId() |
@Stability(value=Experimental) public VpnConnectionAttributes.Builder customerGatewayAsn(Number customerGatewayAsn)
VpnConnectionAttributes.getCustomerGatewayAsn()customerGatewayAsn - The ASN of the customer gateway. This parameter is required.this@Stability(value=Experimental) public VpnConnectionAttributes.Builder customerGatewayId(String customerGatewayId)
VpnConnectionAttributes.getCustomerGatewayId()customerGatewayId - The id of the customer gateway. This parameter is required.this@Stability(value=Experimental) public VpnConnectionAttributes.Builder customerGatewayIp(String customerGatewayIp)
VpnConnectionAttributes.getCustomerGatewayIp()customerGatewayIp - The ip address of the customer gateway. This parameter is required.this@Stability(value=Experimental) public VpnConnectionAttributes.Builder vpnId(String vpnId)
VpnConnectionAttributes.getVpnId()vpnId - The id of the VPN connection. This parameter is required.this@Stability(value=Experimental) public VpnConnectionAttributes build()
build in interface software.amazon.jsii.Builder<VpnConnectionAttributes>VpnConnectionAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.