public static interface CreateNatGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateNatGatewayRequest.Builder,CreateNatGatewayRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateNatGatewayRequest.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 allocationId(String allocationId)
The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.
allocationId - The allocation ID of an Elastic IP address to associate with the NAT gateway. If the Elastic IP
address is associated with another resource, you must first disassociate it.CreateNatGatewayRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNatGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.