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 |
subnetId(String subnetId)
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 subnet in which to create the NAT gateway.
subnetId - 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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #tagSpecifications(List) .tagSpecifications - a consumer that will call methods on List.Builder #tagSpecifications(List) 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNatGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.