| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2 |
|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<CreateNatGatewayResponse> |
Ec2AsyncClient.createNatGateway(Consumer<CreateNatGatewayRequest.Builder> createNatGatewayRequest)
Creates a NAT gateway in the specified subnet.
|
default CreateNatGatewayResponse |
Ec2Client.createNatGateway(Consumer<CreateNatGatewayRequest.Builder> createNatGatewayRequest)
Creates a NAT gateway in the specified subnet.
|
| Modifier and Type | Method and Description |
|---|---|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.allocationId(String allocationId)
[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
|
static CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.builder() |
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.connectivityType(ConnectivityType connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.connectivityType(String connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.privateIpAddress(String privateIpAddress)
The private IPv4 address to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.secondaryAllocationIds(Collection<String> secondaryAllocationIds)
Secondary EIP allocation IDs.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.secondaryAllocationIds(String... secondaryAllocationIds)
Secondary EIP allocation IDs.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT
gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.secondaryPrivateIpAddresses(Collection<String> secondaryPrivateIpAddresses)
Secondary private IPv4 addresses.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.secondaryPrivateIpAddresses(String... secondaryPrivateIpAddresses)
Secondary private IPv4 addresses.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.subnetId(String subnetId)
The ID of the subnet in which to create the NAT gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.Builder.tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
CreateNatGatewayRequest.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends CreateNatGatewayRequest.Builder> |
CreateNatGatewayRequest.serializableBuilderClass() |
Copyright © 2023. All rights reserved.