Interface CreateNatGatewayResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateNatGatewayResponse.Builder,CreateNatGatewayResponse>, Ec2Response.Builder, SdkBuilder<CreateNatGatewayResponse.Builder,CreateNatGatewayResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateNatGatewayResponse

public static interface CreateNatGatewayResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateNatGatewayResponse.Builder,CreateNatGatewayResponse>
  • Method Details

    • clientToken

      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.

      Parameters:
      clientToken - Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • natGateway

      Information about the NAT gateway.

      Parameters:
      natGateway - Information about the NAT gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • natGateway

      Information about the NAT gateway.

      This is a convenience method that creates an instance of the NatGateway.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).

      Parameters:
      natGateway - a consumer that will call methods on NatGateway.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: