com.amazonaws.services.ec2.model

## クラス DescribeVpnConnectionsRequest

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

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

      public class DescribeVpnConnectionsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeVpnConnections operation`.

  Gives you information about your VPN connections.

  IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection 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.describeVpnConnections(DescribeVpnConnectionsRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

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

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeVpnConnectionsRequest

          public DescribeVpnConnectionsRequest()

  - ### メソッドの詳細

    - #### getVpnConnectionIds

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

      A VPN connection ID. More than one may be specified per request.
      戻り値:
        A VPN connection ID. More than one may be specified per request.

    - #### setVpnConnectionIds

          public void setVpnConnectionIds(java.util.Collection<java.lang.String> vpnConnectionIds)

      A VPN connection ID. More than one may be specified per request.
      パラメータ:
        `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.

    - #### withVpnConnectionIds

          public DescribeVpnConnectionsRequest withVpnConnectionIds(java.lang.String... vpnConnectionIds)

      A VPN connection ID. More than one may be specified per request.

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

      パラメータ:
        `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.

    - #### withVpnConnectionIds

          public DescribeVpnConnectionsRequest withVpnConnectionIds(java.util.Collection<java.lang.String> vpnConnectionIds)

      A VPN connection ID. More than one may be specified per request.

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

      パラメータ:
        `vpnConnectionIds` - A VPN connection ID. More than one may be specified per request.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeVpnConnectionsRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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