com.amazonaws.services.ec2.model

## クラス DescribeInternetGatewaysRequest

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

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

      public class DescribeInternetGatewaysRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeInternetGateways operation`.

  Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.

  You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.

  You can use wildcards with the filter values: an asterisk matches zero or more characters, and `?` matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of `\*amazon\?\\` searches for the literal string `*amazon?\` .

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

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

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

  - ### メソッドの概要

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

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeInternetGatewaysRequest

          public DescribeInternetGatewaysRequest()

  - ### メソッドの詳細

    - #### getInternetGatewayIds

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

      One or more Internet gateway IDs.
      戻り値:
        One or more Internet gateway IDs.

    - #### setInternetGatewayIds

          public void setInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)

      One or more Internet gateway IDs.
      パラメータ:
        `internetGatewayIds` - One or more Internet gateway IDs.

    - #### withInternetGatewayIds

          public DescribeInternetGatewaysRequest withInternetGatewayIds(java.lang.String... internetGatewayIds)

      One or more Internet gateway IDs.

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

      パラメータ:
        `internetGatewayIds` - One or more Internet gateway IDs.

    - #### withInternetGatewayIds

          public DescribeInternetGatewaysRequest withInternetGatewayIds(java.util.Collection<java.lang.String> internetGatewayIds)

      One or more Internet gateway IDs.

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

      パラメータ:
        `internetGatewayIds` - One or more Internet gateway IDs.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeInternetGatewaysRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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