com.amazonaws.services.ec2.model

## クラス DescribeVpcsRequest

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

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

      public class DescribeVpcsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeVpcs operation`.

  Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.

  For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.

  If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for VPCs.
    `java.util.List<java.lang.String>` | `getVpcIds()` The ID of a VPC you want information about.
    `int` | `hashCode()`
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for VPCs.
    `void` | `setVpcIds(java.util.Collection<java.lang.String> vpcIds)` The ID of a VPC you want information about.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeVpcsRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for VPCs.
    `DescribeVpcsRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for VPCs.
    `DescribeVpcsRequest` | `withVpcIds(java.util.Collection<java.lang.String> vpcIds)` The ID of a VPC you want information about.
    `DescribeVpcsRequest` | `withVpcIds(java.lang.String... vpcIds)` The ID of a VPC you want information about.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeVpcsRequest

          public DescribeVpcsRequest()

  - ### メソッドの詳細

    - #### getVpcIds

          public java.util.List<java.lang.String> getVpcIds()

      The ID of a VPC you want information about.
      戻り値:
        The ID of a VPC you want information about.

    - #### setVpcIds

          public void setVpcIds(java.util.Collection<java.lang.String> vpcIds)

      The ID of a VPC you want information about.
      パラメータ:
        `vpcIds` - The ID of a VPC you want information about.

    - #### withVpcIds

          public DescribeVpcsRequest withVpcIds(java.lang.String... vpcIds)

      The ID of a VPC you want information about.

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

      パラメータ:
        `vpcIds` - The ID of a VPC you want information about.

    - #### withVpcIds

          public DescribeVpcsRequest withVpcIds(java.util.Collection<java.lang.String> vpcIds)

      The ID of a VPC you want information about.

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

      パラメータ:
        `vpcIds` - The ID of a VPC you want information about.

    - #### getFilters

          public java.util.List<Filter> getFilters()

      A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
      戻り値:
        A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### setFilters

          public void setFilters(java.util.Collection<Filter> filters)

      A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
      パラメータ:
        `filters` - A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### withFilters

          public DescribeVpcsRequest withFilters(Filter... filters)

      A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

      パラメータ:
        `filters` - A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### withFilters

          public DescribeVpcsRequest withFilters(java.util.Collection<Filter> filters)

      A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

      パラメータ:
        `filters` - A list of filters used to match properties for VPCs. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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