@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnassignPrivateIpAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<UnassignPrivateIpAddressesRequest>
Contains the parameters for UnassignPrivateIpAddresses.
NOOP
Constructor and Description |
---|
UnassignPrivateIpAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
UnassignPrivateIpAddressesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<UnassignPrivateIpAddressesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getIpv4Prefixes()
The IPv4 prefixes to unassign from the network interface.
|
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 |
setIpv4Prefixes(Collection<String> ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
|
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.
|
UnassignPrivateIpAddressesRequest |
withIpv4Prefixes(Collection<String> ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
|
UnassignPrivateIpAddressesRequest |
withIpv4Prefixes(String... ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public UnassignPrivateIpAddressesRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public List<String> getPrivateIpAddresses()
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 void setPrivateIpAddresses(Collection<String> 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.
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)
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.
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
- 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)
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.
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 List<String> getIpv4Prefixes()
The IPv4 prefixes to unassign from the network interface.
public void setIpv4Prefixes(Collection<String> ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
ipv4Prefixes
- The IPv4 prefixes to unassign from the network interface.public UnassignPrivateIpAddressesRequest withIpv4Prefixes(String... ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setIpv4Prefixes(java.util.Collection)
or withIpv4Prefixes(java.util.Collection)
if you want to
override the existing values.
ipv4Prefixes
- The IPv4 prefixes to unassign from the network interface.public UnassignPrivateIpAddressesRequest withIpv4Prefixes(Collection<String> ipv4Prefixes)
The IPv4 prefixes to unassign from the network interface.
ipv4Prefixes
- The IPv4 prefixes to unassign from the network interface.public Request<UnassignPrivateIpAddressesRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<UnassignPrivateIpAddressesRequest>
public String toString()
toString
in class Object
Object.toString()
public UnassignPrivateIpAddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()