CopyableBuilder<AssignPrivateIpAddressesRequest.Builder,AssignPrivateIpAddressesRequest>
, SdkBuilder<AssignPrivateIpAddressesRequest.Builder,AssignPrivateIpAddressesRequest>
public static interface AssignPrivateIpAddressesRequest.Builder extends CopyableBuilder<AssignPrivateIpAddressesRequest.Builder,AssignPrivateIpAddressesRequest>
Modifier and Type | Method | Description |
---|---|---|
AssignPrivateIpAddressesRequest.Builder |
allowReassignment(Boolean allowReassignment) |
Indicates whether to allow an IP address that is already assigned to another network interface or instance to
be reassigned to the specified network interface.
|
AssignPrivateIpAddressesRequest.Builder |
networkInterfaceId(String networkInterfaceId) |
The ID of the network interface.
|
AssignPrivateIpAddressesRequest.Builder |
privateIpAddresses(String... privateIpAddresses) |
One or more IP addresses to be assigned as a secondary private IP address to the network interface.
|
AssignPrivateIpAddressesRequest.Builder |
privateIpAddresses(Collection<String> privateIpAddresses) |
One or more IP addresses to be assigned as a secondary private IP address to the network interface.
|
AssignPrivateIpAddressesRequest.Builder |
secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount) |
The number of secondary IP addresses to assign to the network interface.
|
copy
apply, build
AssignPrivateIpAddressesRequest.Builder allowReassignment(Boolean allowReassignment)
Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.
allowReassignment
- Indicates whether to allow an IP address that is already assigned to another network interface or
instance to be reassigned to the specified network interface.AssignPrivateIpAddressesRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.AssignPrivateIpAddressesRequest.Builder privateIpAddresses(Collection<String> privateIpAddresses)
One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
privateIpAddresses
- One or more IP addresses to be assigned as a secondary private IP address to the network interface.
You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
AssignPrivateIpAddressesRequest.Builder privateIpAddresses(String... privateIpAddresses)
One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
NOTE: This method appends the values to the existing list (if any). Use
#setPrivateIpAddresses(java.util.Collection)
or #withPrivateIpAddresses(java.util.Collection)
if you want to override the existing values.
privateIpAddresses
- One or more IP addresses to be assigned as a secondary private IP address to the network interface.
You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
AssignPrivateIpAddressesRequest.Builder secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.
secondaryPrivateIpAddressCount
- The number of secondary IP addresses to assign to the network interface. You can't specify this
parameter when also specifying private IP addresses.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.