@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.
|
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.
|
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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.