public static interface CreateNatGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateNatGatewayResponse.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.Builder
natGateway(NatGateway)
Copyright © 2020. All rights reserved.