public static interface CreateNatGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateNatGatewayRequest.Builder,CreateNatGatewayRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateNatGatewayRequest.Builder |
allocationId(String allocationId)
[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway.
|
CreateNatGatewayRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateNatGatewayRequest.Builder |
connectivityType(ConnectivityType connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
CreateNatGatewayRequest.Builder |
connectivityType(String connectivityType)
Indicates whether the NAT gateway supports public or private connectivity.
|
CreateNatGatewayRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateNatGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateNatGatewayRequest.Builder |
privateIpAddress(String privateIpAddress)
The private IPv4 address to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
secondaryAllocationIds(Collection<String> secondaryAllocationIds)
Secondary EIP allocation IDs.
|
CreateNatGatewayRequest.Builder |
secondaryAllocationIds(String... secondaryAllocationIds)
Secondary EIP allocation IDs.
|
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 |
secondaryPrivateIpAddresses(Collection<String> secondaryPrivateIpAddresses)
Secondary private IPv4 addresses.
|
CreateNatGatewayRequest.Builder |
secondaryPrivateIpAddresses(String... secondaryPrivateIpAddresses)
Secondary private IPv4 addresses.
|
CreateNatGatewayRequest.Builder |
subnetId(String subnetId)
The ID of the subnet in which to create the NAT gateway.
|
CreateNatGatewayRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the NAT gateway.
|
CreateNatGatewayRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the NAT gateway.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateNatGatewayRequest.Builder allocationId(String allocationId)
[Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
allocationId - [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT
gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP
address is associated with another resource, you must first disassociate it.CreateNatGatewayRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
Constraint: Maximum 64 ASCII characters.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.
Constraint: Maximum 64 ASCII characters.
CreateNatGatewayRequest.Builder subnetId(String subnetId)
The ID of the subnet in which to create the NAT gateway.
subnetId - The ID of the subnet in which to create the NAT gateway.CreateNatGatewayRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the NAT gateway.
tagSpecifications - The tags to assign to the NAT gateway.CreateNatGatewayRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the NAT gateway.
tagSpecifications - The tags to assign to the NAT gateway.CreateNatGatewayRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the NAT 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) CreateNatGatewayRequest.Builder connectivityType(String connectivityType)
Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
connectivityType - Indicates whether the NAT gateway supports public or private connectivity. The default is public
connectivity.ConnectivityType,
ConnectivityTypeCreateNatGatewayRequest.Builder connectivityType(ConnectivityType connectivityType)
Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.
connectivityType - Indicates whether the NAT gateway supports public or private connectivity. The default is public
connectivity.ConnectivityType,
ConnectivityTypeCreateNatGatewayRequest.Builder privateIpAddress(String privateIpAddress)
The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
privateIpAddress - The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4
address will be automatically assigned.CreateNatGatewayRequest.Builder secondaryAllocationIds(Collection<String> secondaryAllocationIds)
Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.
secondaryAllocationIds - Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.CreateNatGatewayRequest.Builder secondaryAllocationIds(String... secondaryAllocationIds)
Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.
secondaryAllocationIds - Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.CreateNatGatewayRequest.Builder secondaryPrivateIpAddresses(Collection<String> secondaryPrivateIpAddresses)
Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.
secondaryPrivateIpAddresses - Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.CreateNatGatewayRequest.Builder secondaryPrivateIpAddresses(String... secondaryPrivateIpAddresses)
Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.
secondaryPrivateIpAddresses - Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.CreateNatGatewayRequest.Builder secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.
secondaryPrivateIpAddressCount - [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the
NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.CreateNatGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNatGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.