com.amazonaws.services.ec2.model

## クラス DescribeVpnGatewaysRequest

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

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

      public class DescribeVpnGatewaysRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeVpnGateways operation`.

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

  For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available).

  The result includes information for a particular VPN gateway only if the gateway 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.describeVpnGateways(DescribeVpnGatewaysRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for VPN Gateways.
    `java.util.List<java.lang.String>` | `getVpnGatewayIds()` A list of filters used to match properties for VPN Gateways.
    `int` | `hashCode()`
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for VPN Gateways.
    `void` | `setVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)` A list of filters used to match properties for VPN Gateways.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeVpnGatewaysRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for VPN Gateways.
    `DescribeVpnGatewaysRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for VPN Gateways.
    `DescribeVpnGatewaysRequest` | `withVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)` A list of filters used to match properties for VPN Gateways.
    `DescribeVpnGatewaysRequest` | `withVpnGatewayIds(java.lang.String... vpnGatewayIds)` A list of filters used to match properties for VPN Gateways.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeVpnGatewaysRequest

          public DescribeVpnGatewaysRequest()

  - ### メソッドの詳細

    - #### getVpnGatewayIds

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

      A list of filters used to match properties for VPN Gateways. 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 VPN Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### setVpnGatewayIds

          public void setVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)

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

    - #### withVpnGatewayIds

          public DescribeVpnGatewaysRequest withVpnGatewayIds(java.lang.String... vpnGatewayIds)

      A list of filters used to match properties for VPN Gateways. 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.

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

    - #### withVpnGatewayIds

          public DescribeVpnGatewaysRequest withVpnGatewayIds(java.util.Collection<java.lang.String> vpnGatewayIds)

      A list of filters used to match properties for VPN Gateways. 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.

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

    - #### getFilters

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

      A list of filters used to match properties for VPN Gateways. 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 VPN Gateways. 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 VPN Gateways. 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 VPN Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### withFilters

          public DescribeVpnGatewaysRequest withFilters(Filter... filters)

      A list of filters used to match properties for VPN Gateways. 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 VPN Gateways. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

    - #### withFilters

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

      A list of filters used to match properties for VPN Gateways. 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 VPN Gateways. 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`