public class RestoreAddressToClassicRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<RestoreAddressToClassicRequest>
RestoreAddressToClassic operation.
Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.
| Constructor and Description |
|---|
RestoreAddressToClassicRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Request<RestoreAddressToClassicRequest> |
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.
|
RestoreAddressToClassicRequest |
withPublicIp(java.lang.String publicIp)
The Elastic IP address.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp - The Elastic IP address.public RestoreAddressToClassicRequest 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<RestoreAddressToClassicRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RestoreAddressToClassicRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.