|
|||||||
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.DisassociateAddressRequest
public class DisassociateAddressRequest
Container for the parameters to the DisassociateAddress operation
.
The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.
AmazonEC2.disassociateAddress(DisassociateAddressRequest)
Constructor Summary | |
---|---|
DisassociateAddressRequest()
Default constructor for a new DisassociateAddressRequest object. |
|
DisassociateAddressRequest(String publicIp)
Constructs a new DisassociateAddressRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAssociationId()
Association ID corresponding to the VPC elastic IP address you want to disassociate. |
String |
getPublicIp()
The elastic IP address that you are disassociating from the instance. |
int |
hashCode()
|
void |
setAssociationId(String associationId)
Association ID corresponding to the VPC elastic IP address you want to disassociate. |
void |
setPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DisassociateAddressRequest |
withAssociationId(String associationId)
Association ID corresponding to the VPC elastic IP address you want to disassociate. |
DisassociateAddressRequest |
withPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance. |
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 DisassociateAddressRequest()
public DisassociateAddressRequest(String publicIp)
publicIp
- The elastic IP address that you are disassociating
from the instance.Method Detail |
---|
public String getPublicIp()
public void setPublicIp(String publicIp)
publicIp
- The elastic IP address that you are disassociating from the instance.public DisassociateAddressRequest 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 disassociating from the instance.
public String getAssociationId()
public void setAssociationId(String associationId)
associationId
- Association ID corresponding to the VPC elastic IP address you want to
disassociate.public DisassociateAddressRequest withAssociationId(String associationId)
Returns a reference to this object so that method calls can be chained together.
associationId
- Association ID corresponding to the VPC elastic IP address you want to
disassociate.
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 |