public class MoveAddressToVpcRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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 was originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.
Constructor and Description |
---|
MoveAddressToVpcRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Request<MoveAddressToVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getPublicIp()
The Elastic IP address.
|
int |
hashCode() |
void |
setPublicIp(java.lang.String publicIp)
The Elastic IP address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
MoveAddressToVpcRequest |
withPublicIp(java.lang.String publicIp)
The Elastic IP address.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp
- The Elastic IP address.public MoveAddressToVpcRequest withPublicIp(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.