Interface AssignPrivateIpAddressesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssignPrivateIpAddressesResponse.Builder,AssignPrivateIpAddressesResponse>,Ec2Response.Builder,SdkBuilder<AssignPrivateIpAddressesResponse.Builder,AssignPrivateIpAddressesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AssignPrivateIpAddressesResponse
@Mutable @NotThreadSafe public static interface AssignPrivateIpAddressesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssignPrivateIpAddressesResponse.Builder,AssignPrivateIpAddressesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssignPrivateIpAddressesResponse.BuilderassignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes)The IPv4 prefixes that are assigned to the network interface.AssignPrivateIpAddressesResponse.BuilderassignedIpv4Prefixes(Consumer<Ipv4PrefixSpecification.Builder>... assignedIpv4Prefixes)The IPv4 prefixes that are assigned to the network interface.AssignPrivateIpAddressesResponse.BuilderassignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes)The IPv4 prefixes that are assigned to the network interface.AssignPrivateIpAddressesResponse.BuilderassignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses)The private IP addresses assigned to the network interface.AssignPrivateIpAddressesResponse.BuilderassignedPrivateIpAddresses(Consumer<AssignedPrivateIpAddress.Builder>... assignedPrivateIpAddresses)The private IP addresses assigned to the network interface.AssignPrivateIpAddressesResponse.BuilderassignedPrivateIpAddresses(AssignedPrivateIpAddress... assignedPrivateIpAddresses)The private IP addresses assigned to the network interface.AssignPrivateIpAddressesResponse.BuildernetworkInterfaceId(String networkInterfaceId)The ID of the network interface.-
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
-
networkInterfaceId
AssignPrivateIpAddressesResponse.Builder networkInterfaceId(String 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 to#assignedPrivateIpAddresses(List.) - 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:
#assignedPrivateIpAddresses(java.util.Collection)
-
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 to#assignedIpv4Prefixes(List.) - 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:
#assignedIpv4Prefixes(java.util.Collection)
-
-