Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class DisassociateAddressRequest

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

    public class DisassociateAddressRequest

extends AmazonWebServiceRequest

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.

See Also:
  `AmazonEC2.disassociateAddress(DisassociateAddressRequest)`

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()` Returns a string representation of this object; useful for testing and debugging.
`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()

  Returns a string representation of this object; useful for testing and debugging.

  Overrides:
    `toString` in class `Object`
  Returns:
    A string representation of this object.
  See Also:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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