public static interface CreateNatGatewayRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateNatGatewayRequest.Builder,CreateNatGatewayRequest>
Modifier and Type | Method and Description |
---|---|
CreateNatGatewayRequest.Builder |
allocationId(String allocationId)
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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateNatGatewayRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateNatGatewayRequest.Builder |
subnetId(String subnetId)
The subnet in which to create the NAT gateway.
|
build
overrideConfiguration
copy
applyMutation, build
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 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateNatGatewayRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.