public class MoveAddressToVpcRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<MoveAddressToVpcRequest>
MoveAddressToVpc operation.
Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The Elastic IP address must be allocated to your account for more than 24 hours, and it must not be associated with an instance. After the Elastic IP address is moved, it is no longer available for use in the EC2-Classic platform, unless you move it back using the RestoreAddressToClassic request. You cannot move an Elastic IP address that's allocated for use in the EC2-VPC platform to the EC2-Classic platform. You cannot migrate an Elastic IP address that's associated with a reverse DNS record. Contact AWS account and billing support to remove the reverse DNS record.
NOOP| Constructor and Description |
|---|
MoveAddressToVpcRequest() |
| Modifier and Type | Method and Description |
|---|---|
MoveAddressToVpcRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<MoveAddressToVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPublicIp()
The Elastic IP address.
|
int |
hashCode() |
void |
setPublicIp(String publicIp)
The Elastic IP address.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MoveAddressToVpcRequest |
withPublicIp(String publicIp)
The Elastic IP address.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getPublicIp()
public void setPublicIp(String publicIp)
publicIp - The Elastic IP address.public MoveAddressToVpcRequest withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp - The Elastic IP address.public Request<MoveAddressToVpcRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<MoveAddressToVpcRequest>public String toString()
toString in class ObjectObject.toString()public MoveAddressToVpcRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.