com.amazonaws.services.ec2.model

## クラス DescribeCustomerGatewaysRequest

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

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

      public class DescribeCustomerGatewaysRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeCustomerGateways operation`.

  Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer 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.describeCustomerGateways(DescribeCustomerGatewaysRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getCustomerGatewayIds()` A set of one or more customer gateway IDs.
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for Customer Gateways.
    `int` | `hashCode()`
    `void` | `setCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)` A set of one or more customer gateway IDs.
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for Customer Gateways.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeCustomerGatewaysRequest` | `withCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)` A set of one or more customer gateway IDs.
    `DescribeCustomerGatewaysRequest` | `withCustomerGatewayIds(java.lang.String... customerGatewayIds)` A set of one or more customer gateway IDs.
    `DescribeCustomerGatewaysRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for Customer Gateways.
    `DescribeCustomerGatewaysRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for Customer Gateways.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeCustomerGatewaysRequest

          public DescribeCustomerGatewaysRequest()

  - ### メソッドの詳細

    - #### getCustomerGatewayIds

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

      A set of one or more customer gateway IDs.
      戻り値:
        A set of one or more customer gateway IDs.

    - #### setCustomerGatewayIds

          public void setCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)

      A set of one or more customer gateway IDs.
      パラメータ:
        `customerGatewayIds` - A set of one or more customer gateway IDs.

    - #### withCustomerGatewayIds

          public DescribeCustomerGatewaysRequest withCustomerGatewayIds(java.lang.String... customerGatewayIds)

      A set of one or more customer gateway IDs.

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

      パラメータ:
        `customerGatewayIds` - A set of one or more customer gateway IDs.

    - #### withCustomerGatewayIds

          public DescribeCustomerGatewaysRequest withCustomerGatewayIds(java.util.Collection<java.lang.String> customerGatewayIds)

      A set of one or more customer gateway IDs.

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

      パラメータ:
        `customerGatewayIds` - A set of one or more customer gateway IDs.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeCustomerGatewaysRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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