com.amazonaws.services.ec2.model

## クラス AttachInternetGatewayRequest

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

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

      public class AttachInternetGatewayRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `AttachInternetGateway operation`.

  Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInternetGatewayId()` The ID of the Internet gateway to attach.
    `java.lang.String` | `getVpcId()` The ID of the VPC.
    `int` | `hashCode()`
    `void` | `setInternetGatewayId(java.lang.String internetGatewayId)` The ID of the Internet gateway to attach.
    `void` | `setVpcId(java.lang.String vpcId)` The ID of the VPC.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `AttachInternetGatewayRequest` | `withInternetGatewayId(java.lang.String internetGatewayId)` The ID of the Internet gateway to attach.
    `AttachInternetGatewayRequest` | `withVpcId(java.lang.String vpcId)` The ID of the VPC.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### AttachInternetGatewayRequest

          public AttachInternetGatewayRequest()

  - ### メソッドの詳細

    - #### getInternetGatewayId

          public java.lang.String getInternetGatewayId()

      The ID of the Internet gateway to attach.
      戻り値:
        The ID of the Internet gateway to attach.

    - #### setInternetGatewayId

          public void setInternetGatewayId(java.lang.String internetGatewayId)

      The ID of the Internet gateway to attach.
      パラメータ:
        `internetGatewayId` - The ID of the Internet gateway to attach.

    - #### withInternetGatewayId

          public AttachInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)

      The ID of the Internet gateway to attach.

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

      パラメータ:
        `internetGatewayId` - The ID of the Internet gateway to attach.

    - #### getVpcId

          public java.lang.String getVpcId()

      The ID of the VPC.
      戻り値:
        The ID of the VPC.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      The ID of the VPC.
      パラメータ:
        `vpcId` - The ID of the VPC.

    - #### withVpcId

          public AttachInternetGatewayRequest withVpcId(java.lang.String vpcId)

      The ID of the VPC.

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

      パラメータ:
        `vpcId` - The ID of the 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`