|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ReleaseAddressRequest
public class ReleaseAddressRequest
Container for the parameters to the ReleaseAddress operation
.
The ReleaseAddress operation releases an elastic IP address associated with your account.
NOTE: Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.
IMPORTANT: After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address. If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.
AmazonEC2.releaseAddress(ReleaseAddressRequest)
Constructor Summary | |
---|---|
ReleaseAddressRequest()
Default constructor for a new ReleaseAddressRequest object. |
|
ReleaseAddressRequest(String publicIp)
Constructs a new ReleaseAddressRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAllocationId()
The allocation ID that AWS provided when you allocated the address for use with Amazon VPC. |
String |
getPublicIp()
The elastic IP address that you are releasing from your account. |
int |
hashCode()
|
void |
setAllocationId(String allocationId)
The allocation ID that AWS provided when you allocated the address for use with Amazon VPC. |
void |
setPublicIp(String publicIp)
The elastic IP address that you are releasing from your account. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ReleaseAddressRequest |
withAllocationId(String allocationId)
The allocation ID that AWS provided when you allocated the address for use with Amazon VPC. |
ReleaseAddressRequest |
withPublicIp(String publicIp)
The elastic IP address that you are releasing from your account. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReleaseAddressRequest()
public ReleaseAddressRequest(String publicIp)
publicIp
- The elastic IP address that you are releasing from
your account.Method Detail |
---|
public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- The elastic IP address that you are releasing from your account.public ReleaseAddressRequest withPublicIp(String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The elastic IP address that you are releasing from your account.
public String getAllocationId()
public void setAllocationId(String allocationId)
allocationId
- The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.public ReleaseAddressRequest withAllocationId(String allocationId)
Returns a reference to this object so that method calls can be chained together.
allocationId
- The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |