public static interface CreateCustomerGatewayRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateCustomerGatewayRequest.Builder,CreateCustomerGatewayRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCustomerGatewayRequest.Builder |
bgpAsn(Integer bgpAsn)
For devices that support BGP, the customer gateway's BGP ASN.
|
CreateCustomerGatewayRequest.Builder |
publicIp(String publicIp)
The Internet-routable IP address for the customer gateway's outside interface.
|
CreateCustomerGatewayRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateCustomerGatewayRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateCustomerGatewayRequest.Builder |
type(GatewayType type)
The type of VPN connection that this customer gateway supports (
ipsec.1). |
CreateCustomerGatewayRequest.Builder |
type(String type)
The type of VPN connection that this customer gateway supports (
ipsec.1). |
buildrequestOverrideConfigcopyapply, buildCreateCustomerGatewayRequest.Builder bgpAsn(Integer bgpAsn)
For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
bgpAsn - For devices that support BGP, the customer gateway's BGP ASN.
Default: 65000
CreateCustomerGatewayRequest.Builder publicIp(String publicIp)
The Internet-routable IP address for the customer gateway's outside interface. The address must be static.
publicIp - The Internet-routable IP address for the customer gateway's outside interface. The address must be
static.CreateCustomerGatewayRequest.Builder type(String type)
The type of VPN connection that this customer gateway supports (ipsec.1).
type - The type of VPN connection that this customer gateway supports (ipsec.1).GatewayType,
GatewayTypeCreateCustomerGatewayRequest.Builder type(GatewayType type)
The type of VPN connection that this customer gateway supports (ipsec.1).
type - The type of VPN connection that this customer gateway supports (ipsec.1).GatewayType,
GatewayTypeCreateCustomerGatewayRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateCustomerGatewayRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.