Interface DisassociateNatGatewayAddressResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateNatGatewayAddressResponse.Builder,DisassociateNatGatewayAddressResponse>,Ec2Response.Builder,SdkBuilder<DisassociateNatGatewayAddressResponse.Builder,DisassociateNatGatewayAddressResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisassociateNatGatewayAddressResponse
@Mutable @NotThreadSafe public static interface DisassociateNatGatewayAddressResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateNatGatewayAddressResponse.Builder,DisassociateNatGatewayAddressResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisassociateNatGatewayAddressResponse.BuildernatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)Information about the NAT gateway IP addresses.DisassociateNatGatewayAddressResponse.BuildernatGatewayAddresses(Consumer<NatGatewayAddress.Builder>... natGatewayAddresses)Information about the NAT gateway IP addresses.DisassociateNatGatewayAddressResponse.BuildernatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)Information about the NAT gateway IP addresses.DisassociateNatGatewayAddressResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
natGatewayId
DisassociateNatGatewayAddressResponse.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
DisassociateNatGatewayAddressResponse.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
DisassociateNatGatewayAddressResponse.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
DisassociateNatGatewayAddressResponse.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 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)
-
-