public static interface CreateVpnGatewayRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateVpnGatewayRequest.Builder,CreateVpnGatewayRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateVpnGatewayRequest.Builder |
amazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
CreateVpnGatewayRequest.Builder |
availabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
|
CreateVpnGatewayRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateVpnGatewayRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateVpnGatewayRequest.Builder |
type(GatewayType type)
The type of VPN connection this virtual private gateway supports.
|
CreateVpnGatewayRequest.Builder |
type(String type)
The type of VPN connection this virtual private gateway supports.
|
buildrequestOverrideConfigcopyapply, buildCreateVpnGatewayRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone for the virtual private gateway.
availabilityZone - The Availability Zone for the virtual private gateway.CreateVpnGatewayRequest.Builder type(String type)
The type of VPN connection this virtual private gateway supports.
type - The type of VPN connection this virtual private gateway supports.GatewayType,
GatewayTypeCreateVpnGatewayRequest.Builder type(GatewayType type)
The type of VPN connection this virtual private gateway supports.
type - The type of VPN connection this virtual private gateway supports.GatewayType,
GatewayTypeCreateVpnGatewayRequest.Builder amazonSideAsn(Long amazonSideAsn)
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
amazonSideAsn - A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a
16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the
4200000000 to 4294967294 range.
Default: 64512
CreateVpnGatewayRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateVpnGatewayRequest.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.