com.amazonaws.services.ec2.model

## クラス DetachInternetGatewayRequest

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

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

      public class DetachInternetGatewayRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DetachInternetGateway operation`.

  Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

  For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInternetGatewayId()` The ID of the Internet gateway to detach.
    `java.lang.String` | `getVpcId()` The ID of the VPC.
    `int` | `hashCode()`
    `void` | `setInternetGatewayId(java.lang.String internetGatewayId)` The ID of the Internet gateway to detach.
    `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.
    `DetachInternetGatewayRequest` | `withInternetGatewayId(java.lang.String internetGatewayId)` The ID of the Internet gateway to detach.
    `DetachInternetGatewayRequest` | `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`

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

    - #### DetachInternetGatewayRequest

          public DetachInternetGatewayRequest()

  - ### メソッドの詳細

    - #### getInternetGatewayId

          public java.lang.String getInternetGatewayId()

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

    - #### setInternetGatewayId

          public void setInternetGatewayId(java.lang.String internetGatewayId)

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

    - #### withInternetGatewayId

          public DetachInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)

      The ID of the Internet gateway to detach.

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

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

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