com.amazonaws.services.ec2.model

## クラス DeleteVpnGatewayRequest

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

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

      public class DeleteVpnGatewayRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteVpnGateway operation`.

  Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.

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

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

    コンストラクタ
    コンストラクタと説明
    `DeleteVpnGatewayRequest()` Default constructor for a new DeleteVpnGatewayRequest object.
    `DeleteVpnGatewayRequest(java.lang.String vpnGatewayId)` Constructs a new DeleteVpnGatewayRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getVpnGatewayId()` The ID of the VPN gateway to delete.
    `int` | `hashCode()`
    `void` | `setVpnGatewayId(java.lang.String vpnGatewayId)` The ID of the VPN gateway to delete.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteVpnGatewayRequest` | `withVpnGatewayId(java.lang.String vpnGatewayId)` The ID of the VPN gateway to delete.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteVpnGatewayRequest

          public DeleteVpnGatewayRequest()

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

    - #### DeleteVpnGatewayRequest

          public DeleteVpnGatewayRequest(java.lang.String vpnGatewayId)

      Constructs a new DeleteVpnGatewayRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `vpnGatewayId` - The ID of the VPN gateway to delete.

  - ### メソッドの詳細

    - #### getVpnGatewayId

          public java.lang.String getVpnGatewayId()

      The ID of the VPN gateway to delete.
      戻り値:
        The ID of the VPN gateway to delete.

    - #### setVpnGatewayId

          public void setVpnGatewayId(java.lang.String vpnGatewayId)

      The ID of the VPN gateway to delete.
      パラメータ:
        `vpnGatewayId` - The ID of the VPN gateway to delete.

    - #### withVpnGatewayId

          public DeleteVpnGatewayRequest withVpnGatewayId(java.lang.String vpnGatewayId)

      The ID of the VPN gateway to delete.

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

      パラメータ:
        `vpnGatewayId` - The ID of the VPN gateway to delete.

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