com.amazonaws.services.ec2.model
Class DisassociateAddressRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DisassociateAddressRequest

public class DisassociateAddressRequest
extends AmazonWebServiceRequest

A request to disassociate an 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 will not return an error.


Constructor Summary
DisassociateAddressRequest()
           
 
Method Summary
 String getPublicIp()
          The elastic IP address that you are disassociating from the instance.
 void setPublicIp(String publicIp)
          The elastic IP address that you are disassociating from the instance.
 String toString()
           
 DisassociateAddressRequest withPublicIp(String publicIp)
          The elastic IP address that you are disassociating from the instance.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisassociateAddressRequest

public DisassociateAddressRequest()
Method Detail

getPublicIp

public String getPublicIp()
The elastic IP address that you are disassociating from the instance.

Returns:
The elastic IP address that you are disassociating from the instance.

setPublicIp

public void setPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance.

Parameters:
publicIp - The elastic IP address that you are disassociating from the instance.

withPublicIp

public DisassociateAddressRequest withPublicIp(String publicIp)
The elastic IP address that you are disassociating from the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicIp - The elastic IP address that you are disassociating from the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.