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, 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.
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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 Object
Object.toString()
public MoveAddressToVpcRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.