public static final class CfnCustomerGatewayProps.Builder
extends java.lang.Object
CfnCustomerGatewayProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCustomerGatewayProps.Builder |
bgpAsn(java.lang.Number bgpAsn)
Sets the value of
CfnCustomerGatewayProps.getBgpAsn() |
CfnCustomerGatewayProps |
build()
Builds the configured instance.
|
CfnCustomerGatewayProps.Builder |
ipAddress(java.lang.String ipAddress)
Sets the value of
CfnCustomerGatewayProps.getIpAddress() |
CfnCustomerGatewayProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnCustomerGatewayProps.getTags() |
CfnCustomerGatewayProps.Builder |
type(java.lang.String type)
Sets the value of
CfnCustomerGatewayProps.getType() |
public CfnCustomerGatewayProps.Builder bgpAsn(java.lang.Number bgpAsn)
CfnCustomerGatewayProps.getBgpAsn()
bgpAsn
- For devices that support BGP, the customer gateway's BGP ASN. This parameter is required.
Default: 65000this
public CfnCustomerGatewayProps.Builder ipAddress(java.lang.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
public CfnCustomerGatewayProps.Builder type(java.lang.String type)
CfnCustomerGatewayProps.getType()
type
- The type of VPN connection that this customer gateway supports ( `ipsec.1` ). This parameter is required.this
public CfnCustomerGatewayProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnCustomerGatewayProps.getTags()
tags
- One or more tags for the customer gateway.this
public CfnCustomerGatewayProps build()
CfnCustomerGatewayProps
java.lang.NullPointerException
- if any required attribute was not provided