com.amazonaws.services.ec2.model

## クラス ReleaseAddressRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.ReleaseAddressRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class ReleaseAddressRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  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)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### ReleaseAddressRequest

          public ReleaseAddressRequest()

      Default constructor for a new ReleaseAddressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### ReleaseAddressRequest

          public ReleaseAddressRequest(java.lang.String publicIp)

      Constructs a new ReleaseAddressRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `publicIp` - The elastic IP address that you are releasing from your account.

  - ### メソッドの詳細

    - #### getPublicIp

          public java.lang.String getPublicIp()

      The elastic IP address that you are releasing from your account.
      戻り値:
        The elastic IP address that you are releasing from your account.

    - #### setPublicIp

          public void setPublicIp(java.lang.String publicIp)

      The elastic IP address that you are releasing from your account.
      パラメータ:
        `publicIp` - The elastic IP address that you are releasing from your account.

    - #### withPublicIp

          public ReleaseAddressRequest withPublicIp(java.lang.String publicIp)

      The elastic IP address that you are releasing from your account.

      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.

    - #### getAllocationId

          public java.lang.String getAllocationId()

      The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.
      戻り値:
        The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.

    - #### setAllocationId

          public void setAllocationId(java.lang.String allocationId)

      The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.
      パラメータ:
        `allocationId` - The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.

    - #### withAllocationId

          public ReleaseAddressRequest withAllocationId(java.lang.String allocationId)

      The allocation ID that AWS provided when you allocated the address for use with Amazon VPC.

      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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`