com.amazonaws.services.ec2.model

## クラス AllocateAddressRequest

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

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

      public class AllocateAddressRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AllocateAddress operation`.

  The AllocateAddress operation acquires an elastic IP address for use with your account.

  関連項目:
    `AmazonEC2.allocateAddress(AllocateAddressRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `AllocateAddressRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDomain()` Set to `vpc` to allocate the address to your VPC.
    `int` | `hashCode()`
    `void` | `setDomain(DomainType domain)` Set to `vpc` to allocate the address to your VPC.
    `void` | `setDomain(java.lang.String domain)` Set to `vpc` to allocate the address to your VPC.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AllocateAddressRequest` | `withDomain(DomainType domain)` Set to `vpc` to allocate the address to your VPC.
    `AllocateAddressRequest` | `withDomain(java.lang.String domain)` Set to `vpc` to allocate the address to your VPC.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AllocateAddressRequest

          public AllocateAddressRequest()

  - ### メソッドの詳細

    - #### getDomain

          public java.lang.String getDomain()

      Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.

      Constraints:
      Allowed Values: vpc, standard

      戻り値:
        Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.
      関連項目:
        `DomainType`

    - #### setDomain

          public void setDomain(java.lang.String domain)

      Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.

      Constraints:
      Allowed Values: vpc, standard

      パラメータ:
        `domain` - Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.
      関連項目:
        `DomainType`

    - #### withDomain

          public AllocateAddressRequest withDomain(java.lang.String domain)

      Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.

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

      Constraints:
      Allowed Values: vpc, standard

      パラメータ:
        `domain` - Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.
      関連項目:
        `DomainType`

    - #### setDomain

          public void setDomain(DomainType domain)

      Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.

      Constraints:
      Allowed Values: vpc, standard

      パラメータ:
        `domain` - Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.
      関連項目:
        `DomainType`

    - #### withDomain

          public AllocateAddressRequest withDomain(DomainType domain)

      Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.

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

      Constraints:
      Allowed Values: vpc, standard

      パラメータ:
        `domain` - Set to `vpc` to allocate the address to your VPC. By default, will allocate to EC2.
      関連項目:
        `DomainType`

    - #### 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`