public static interface CreateVpnGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateVpnGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateVpnGatewayRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the virtual private gateway.
|
CreateVpnGatewayRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the virtual private gateway.
|
CreateVpnGatewayRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the virtual private gateway.
|
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the virtual private gateway.
tagSpecifications - The tags to apply to the virtual private gateway.CreateVpnGatewayRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the virtual private gateway.
tagSpecifications - The tags to apply to the virtual private gateway.CreateVpnGatewayRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the virtual private gateway.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateVpnGatewayRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateVpnGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.