com.amazonaws.services.ec2.model

## クラス DescribeKeyPairsRequest

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

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

      public class DescribeKeyPairsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeKeyPairs operation`.

  The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for KeyPairs.
    `java.util.List<java.lang.String>` | `getKeyNames()` The optional list of key pair names to describe.
    `int` | `hashCode()`
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for KeyPairs.
    `void` | `setKeyNames(java.util.Collection<java.lang.String> keyNames)` The optional list of key pair names to describe.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeKeyPairsRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for KeyPairs.
    `DescribeKeyPairsRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for KeyPairs.
    `DescribeKeyPairsRequest` | `withKeyNames(java.util.Collection<java.lang.String> keyNames)` The optional list of key pair names to describe.
    `DescribeKeyPairsRequest` | `withKeyNames(java.lang.String... keyNames)` The optional list of key pair names to describe.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeKeyPairsRequest

          public DescribeKeyPairsRequest()

  - ### メソッドの詳細

    - #### getKeyNames

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

      The optional list of key pair names to describe.
      戻り値:
        The optional list of key pair names to describe.

    - #### setKeyNames

          public void setKeyNames(java.util.Collection<java.lang.String> keyNames)

      The optional list of key pair names to describe.
      パラメータ:
        `keyNames` - The optional list of key pair names to describe.

    - #### withKeyNames

          public DescribeKeyPairsRequest withKeyNames(java.lang.String... keyNames)

      The optional list of key pair names to describe.

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

      パラメータ:
        `keyNames` - The optional list of key pair names to describe.

    - #### withKeyNames

          public DescribeKeyPairsRequest withKeyNames(java.util.Collection<java.lang.String> keyNames)

      The optional list of key pair names to describe.

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

      パラメータ:
        `keyNames` - The optional list of key pair names to describe.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeKeyPairsRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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