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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateNatGatewayAddressResponse.BuildernatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)The IP addresses.AssociateNatGatewayAddressResponse.BuildernatGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses)The IP addresses.AssociateNatGatewayAddressResponse.BuildernatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)The IP addresses.AssociateNatGatewayAddressResponse.BuildernatGatewayId(String natGatewayId)The ID of the NAT gateway.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
natGatewayId
AssociateNatGatewayAddressResponse.Builder natGatewayId(String 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 to#natGatewayAddresses(List.) - 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:
#natGatewayAddresses(java.util.Collection)
-
-