Interface AssignPrivateIpAddressesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssignPrivateIpAddressesResponse.Builder,,AssignPrivateIpAddressesResponse> Ec2Response.Builder,SdkBuilder<AssignPrivateIpAddressesResponse.Builder,,AssignPrivateIpAddressesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssignPrivateIpAddressesResponse
public static interface AssignPrivateIpAddressesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssignPrivateIpAddressesResponse.Builder,AssignPrivateIpAddressesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.assignedIpv4Prefixes(Consumer<Ipv4PrefixSpecification.Builder>... assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.assignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.assignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.assignedPrivateIpAddresses(Consumer<AssignedPrivateIpAddress.Builder>... assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.assignedPrivateIpAddresses(AssignedPrivateIpAddress... assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.networkInterfaceId(String networkInterfaceId) The ID of the network interface.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
-
networkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignedPrivateIpAddresses
AssignPrivateIpAddressesResponse.Builder assignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.
- Parameters:
assignedPrivateIpAddresses- The private IP addresses assigned to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignedPrivateIpAddresses
AssignPrivateIpAddressesResponse.Builder assignedPrivateIpAddresses(AssignedPrivateIpAddress... assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.
- Parameters:
assignedPrivateIpAddresses- The private IP addresses assigned to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignedPrivateIpAddresses
AssignPrivateIpAddressesResponse.Builder assignedPrivateIpAddresses(Consumer<AssignedPrivateIpAddress.Builder>... assignedPrivateIpAddresses) The private IP addresses assigned to the network interface.
This is a convenience method that creates an instance of theAssignedPrivateIpAddress.Builderavoiding the need to create one manually viaAssignedPrivateIpAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassignedPrivateIpAddresses(List<AssignedPrivateIpAddress>).- Parameters:
assignedPrivateIpAddresses- a consumer that will call methods onAssignedPrivateIpAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assignedIpv4Prefixes
AssignPrivateIpAddressesResponse.Builder assignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.
- Parameters:
assignedIpv4Prefixes- The IPv4 prefixes that are assigned to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignedIpv4Prefixes
AssignPrivateIpAddressesResponse.Builder assignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.
- Parameters:
assignedIpv4Prefixes- The IPv4 prefixes that are assigned to the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignedIpv4Prefixes
AssignPrivateIpAddressesResponse.Builder assignedIpv4Prefixes(Consumer<Ipv4PrefixSpecification.Builder>... assignedIpv4Prefixes) The IPv4 prefixes that are assigned to the network interface.
This is a convenience method that creates an instance of theIpv4PrefixSpecification.Builderavoiding the need to create one manually viaIpv4PrefixSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassignedIpv4Prefixes(List<Ipv4PrefixSpecification>).- Parameters:
assignedIpv4Prefixes- a consumer that will call methods onIpv4PrefixSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-