@Stability(value=Stable) public static final class CfnCustomerGatewayProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCustomerGatewayProps>
CfnCustomerGatewayProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCustomerGatewayProps.Builder |
bgpAsn(Number bgpAsn)
Sets the value of
CfnCustomerGatewayProps.getBgpAsn() |
CfnCustomerGatewayProps |
build()
Builds the configured instance.
|
CfnCustomerGatewayProps.Builder |
ipAddress(String ipAddress)
Sets the value of
CfnCustomerGatewayProps.getIpAddress() |
CfnCustomerGatewayProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnCustomerGatewayProps.getTags() |
CfnCustomerGatewayProps.Builder |
type(String type)
Sets the value of
CfnCustomerGatewayProps.getType() |
@Stability(value=Stable) public CfnCustomerGatewayProps.Builder bgpAsn(Number bgpAsn)
CfnCustomerGatewayProps.getBgpAsn()bgpAsn - For devices that support BGP, the customer gateway's BGP ASN. This parameter is required.
Default: 65000this@Stability(value=Stable) public CfnCustomerGatewayProps.Builder ipAddress(String ipAddress)
CfnCustomerGatewayProps.getIpAddress()ipAddress - The Internet-routable IP address for the customer gateway's outside interface. This parameter is required.
The address must be static.this@Stability(value=Stable) public CfnCustomerGatewayProps.Builder type(String type)
CfnCustomerGatewayProps.getType()type - The type of VPN connection that this customer gateway supports ( `ipsec.1` ). This parameter is required.this@Stability(value=Stable) public CfnCustomerGatewayProps.Builder tags(List<? extends CfnTag> tags)
CfnCustomerGatewayProps.getTags()tags - One or more tags for the customer gateway.this@Stability(value=Stable) public CfnCustomerGatewayProps build()
build in interface software.amazon.jsii.Builder<CfnCustomerGatewayProps>CfnCustomerGatewayPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.