com.amazonaws.services.ec2.model

## クラス DeleteVpnConnectionRequest

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

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

      public class DeleteVpnConnectionRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteVpnConnection operation`.

  Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.

  If you're deleting the VPC and all its associated parts, we recommend you detach the VPN gateway from the VPC and delete the VPC before deleting the VPN connection.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getVpnConnectionId()` The ID of the VPN connection to delete
    `int` | `hashCode()`
    `void` | `setVpnConnectionId(java.lang.String vpnConnectionId)` The ID of the VPN connection to delete
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteVpnConnectionRequest` | `withVpnConnectionId(java.lang.String vpnConnectionId)` The ID of the VPN connection to delete Returns a reference to this object so that method calls can be chained together.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteVpnConnectionRequest

          public DeleteVpnConnectionRequest()

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

    - #### DeleteVpnConnectionRequest

          public DeleteVpnConnectionRequest(java.lang.String vpnConnectionId)

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

  - ### メソッドの詳細

    - #### getVpnConnectionId

          public java.lang.String getVpnConnectionId()

      The ID of the VPN connection to delete
      戻り値:
        The ID of the VPN connection to delete

    - #### setVpnConnectionId

          public void setVpnConnectionId(java.lang.String vpnConnectionId)

      The ID of the VPN connection to delete
      パラメータ:
        `vpnConnectionId` - The ID of the VPN connection to delete

    - #### withVpnConnectionId

          public DeleteVpnConnectionRequest withVpnConnectionId(java.lang.String vpnConnectionId)

      The ID of the VPN connection to delete

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

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