public static interface CreateNatGatewayResponse.Builder extends EC2Response.Builder, CopyableBuilder<CreateNatGatewayResponse.Builder,CreateNatGatewayResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateNatGatewayResponse.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
default CreateNatGatewayResponse.Builder |
natGateway(Consumer<NatGateway.Builder> natGateway)
Information about the NAT gateway.
|
CreateNatGatewayResponse.Builder |
natGateway(NatGateway natGateway)
Information about the NAT gateway.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateNatGatewayResponse.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
clientToken - Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client
token was provided in the request.CreateNatGatewayResponse.Builder natGateway(NatGateway natGateway)
Information about the NAT gateway.
natGateway - Information about the NAT gateway.default CreateNatGatewayResponse.Builder natGateway(Consumer<NatGateway.Builder> natGateway)
Information about the NAT gateway.
This is a convenience that creates an instance of theNatGateway.Builder avoiding the need to create
one manually via NatGateway.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to natGateway(NatGateway).natGateway - a consumer that will call methods on NatGateway.BuildernatGateway(NatGateway)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.