Interface AssociateNatGatewayAddressResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<AssociateNatGatewayAddressResponse.Builder,,AssociateNatGatewayAddressResponse> Ec2Response.Builder,SdkBuilder<AssociateNatGatewayAddressResponse.Builder,,AssociateNatGatewayAddressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 AssociateNatGatewayAddressResponse
public static interface AssociateNatGatewayAddressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateNatGatewayAddressResponse.Builder,AssociateNatGatewayAddressResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionnatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses) The IP addresses.natGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses) The IP addresses.natGatewayAddresses(NatGatewayAddress... natGatewayAddresses) The IP addresses.natGatewayId(String natGatewayId) The ID of the NAT gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
natGatewayId
The ID of the NAT gateway.
- Parameters:
 natGatewayId- The ID of the NAT gateway.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
natGatewayAddresses
AssociateNatGatewayAddressResponse.Builder natGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses) The IP addresses.
- Parameters:
 natGatewayAddresses- The IP addresses.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
natGatewayAddresses
AssociateNatGatewayAddressResponse.Builder natGatewayAddresses(NatGatewayAddress... natGatewayAddresses) The IP addresses.
- Parameters:
 natGatewayAddresses- The IP addresses.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
natGatewayAddresses
AssociateNatGatewayAddressResponse.Builder natGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses) The IP addresses.
This is a convenience method that creates an instance of theNatGatewayAddress.Builderavoiding the need to create one manually viaNatGatewayAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonatGatewayAddresses(List<NatGatewayAddress>).- Parameters:
 natGatewayAddresses- a consumer that will call methods onNatGatewayAddress.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -