public class UnassignPrivateIpAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UnassignPrivateIpAddresses operation
.
Unassigns one or more secondary private IP addresses from a network interface.
NOOP
Constructor and Description |
---|
UnassignPrivateIpAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
UnassignPrivateIpAddressesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getNetworkInterfaceId()
The ID of the network interface.
|
List<String> |
getPrivateIpAddresses()
The secondary private IP addresses to unassign from the network
interface.
|
int |
hashCode() |
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setPrivateIpAddresses(Collection<String> privateIpAddresses)
The secondary private IP addresses to unassign from the network
interface.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UnassignPrivateIpAddressesRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
UnassignPrivateIpAddressesRequest |
withPrivateIpAddresses(Collection<String> privateIpAddresses)
The secondary private IP addresses to unassign from the network
interface.
|
UnassignPrivateIpAddressesRequest |
withPrivateIpAddresses(String... privateIpAddresses)
The secondary private IP addresses to unassign from the network
interface.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The ID of the network interface.public UnassignPrivateIpAddressesRequest withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The ID of the network interface.public List<String> getPrivateIpAddresses()
public void setPrivateIpAddresses(Collection<String> privateIpAddresses)
privateIpAddresses
- The secondary private IP addresses to unassign from the network
interface. You can specify this option multiple times to unassign more
than one IP address.public UnassignPrivateIpAddressesRequest withPrivateIpAddresses(String... privateIpAddresses)
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.
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The secondary private IP addresses to unassign from the network
interface. You can specify this option multiple times to unassign more
than one IP address.public UnassignPrivateIpAddressesRequest withPrivateIpAddresses(Collection<String> privateIpAddresses)
Returns a reference to this object so that method calls can be chained together.
privateIpAddresses
- The secondary private IP addresses to unassign from the network
interface. You can specify this option multiple times to unassign more
than one IP address.public String toString()
toString
in class Object
Object.toString()
public UnassignPrivateIpAddressesRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.