public class ReleaseAddressRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
ReleaseAddressRequest()
Default constructor for a new ReleaseAddressRequest object.
|
ReleaseAddressRequest(java.lang.String publicIp)
Constructs a new ReleaseAddressRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllocationId()
The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.
|
java.lang.String |
getPublicIp()
The elastic IP address that you are releasing from your account.
|
int |
hashCode() |
void |
setAllocationId(java.lang.String allocationId)
The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.
|
void |
setPublicIp(java.lang.String publicIp)
The elastic IP address that you are releasing from your account.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReleaseAddressRequest |
withAllocationId(java.lang.String allocationId)
The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.
|
ReleaseAddressRequest |
withPublicIp(java.lang.String publicIp)
The elastic IP address that you are releasing from your account.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ReleaseAddressRequest()
public ReleaseAddressRequest(java.lang.String publicIp)
publicIp - The elastic IP address that you are releasing from
your account.public java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp - The elastic IP address that you are releasing from your account.public ReleaseAddressRequest withPublicIp(java.lang.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 java.lang.String getAllocationId()
public void setAllocationId(java.lang.String allocationId)
allocationId - The allocation ID that AWS provided when you allocated the address for
use with Amazon VPC.public ReleaseAddressRequest withAllocationId(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object