Interface UnassignPrivateNatGatewayAddressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UnassignPrivateNatGatewayAddressResponse.Builder,,UnassignPrivateNatGatewayAddressResponse> Ec2Response.Builder,SdkBuilder<UnassignPrivateNatGatewayAddressResponse.Builder,,UnassignPrivateNatGatewayAddressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UnassignPrivateNatGatewayAddressResponse
public static interface UnassignPrivateNatGatewayAddressResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<UnassignPrivateNatGatewayAddressResponse.Builder,UnassignPrivateNatGatewayAddressResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses) Information about the NAT gateway IP addresses.natGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses) Information about the NAT gateway IP addresses.natGatewayAddresses(NatGatewayAddress... natGatewayAddresses) Information about the NAT gateway 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
UnassignPrivateNatGatewayAddressResponse.Builder natGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses) Information about the NAT gateway IP addresses.
- Parameters:
natGatewayAddresses- Information about the NAT gateway IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayAddresses
UnassignPrivateNatGatewayAddressResponse.Builder natGatewayAddresses(NatGatewayAddress... natGatewayAddresses) Information about the NAT gateway IP addresses.
- Parameters:
natGatewayAddresses- Information about the NAT gateway IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayAddresses
UnassignPrivateNatGatewayAddressResponse.Builder natGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses) Information about the NAT gateway 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:
-