com.amazonaws.services.ec2.model

## クラス DeleteVpcRequest

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

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

      public class DeleteVpcRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteVpc operation`.

  Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.

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

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

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

  - ### メソッドの概要

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

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteVpcRequest

          public DeleteVpcRequest()

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

    - #### DeleteVpcRequest

          public DeleteVpcRequest(java.lang.String vpcId)

      Constructs a new DeleteVpcRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `vpcId` - The ID of the VPC you want to delete.

  - ### メソッドの詳細

    - #### getVpcId

          public java.lang.String getVpcId()

      The ID of the VPC you want to delete.
      戻り値:
        The ID of the VPC you want to delete.

    - #### setVpcId

          public void setVpcId(java.lang.String vpcId)

      The ID of the VPC you want to delete.
      パラメータ:
        `vpcId` - The ID of the VPC you want to delete.

    - #### withVpcId

          public DeleteVpcRequest withVpcId(java.lang.String vpcId)

      The ID of the VPC you want to delete.

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

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