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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateCustomerGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateCustomerGatewayRequest.Builder |
publicIp(String publicIp)
The Internet-routable IP address for the customer gateway's outside interface.
|
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 ). |
build
overrideConfiguration
copy
applyMutation, build
CreateCustomerGatewayRequest.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
,
GatewayType
CreateCustomerGatewayRequest.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
,
GatewayType
CreateCustomerGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateCustomerGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.