com.amazonaws.services.ec2.model

## クラス DescribeSnapshotsRequest

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

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

      public class DescribeSnapshotsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeSnapshots operation`.

  Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for Snapshots.
    `java.util.List<java.lang.String>` | `getOwnerIds()` An optional list of owners by which to scope the described EBS snapshots.
    `java.util.List<java.lang.String>` | `getRestorableByUserIds()` An optional list of users.
    `java.util.List<java.lang.String>` | `getSnapshotIds()` The optional list of EBS snapshot IDs to describe.
    `int` | `hashCode()`
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for Snapshots.
    `void` | `setOwnerIds(java.util.Collection<java.lang.String> ownerIds)` An optional list of owners by which to scope the described EBS snapshots.
    `void` | `setRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)` An optional list of users.
    `void` | `setSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)` The optional list of EBS snapshot IDs to describe.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeSnapshotsRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for Snapshots.
    `DescribeSnapshotsRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for Snapshots.
    `DescribeSnapshotsRequest` | `withOwnerIds(java.util.Collection<java.lang.String> ownerIds)` An optional list of owners by which to scope the described EBS snapshots.
    `DescribeSnapshotsRequest` | `withOwnerIds(java.lang.String... ownerIds)` An optional list of owners by which to scope the described EBS snapshots.
    `DescribeSnapshotsRequest` | `withRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)` An optional list of users.
    `DescribeSnapshotsRequest` | `withRestorableByUserIds(java.lang.String... restorableByUserIds)` An optional list of users.
    `DescribeSnapshotsRequest` | `withSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)` The optional list of EBS snapshot IDs to describe.
    `DescribeSnapshotsRequest` | `withSnapshotIds(java.lang.String... snapshotIds)` The optional list of EBS snapshot IDs to describe.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeSnapshotsRequest

          public DescribeSnapshotsRequest()

  - ### メソッドの詳細

    - #### getSnapshotIds

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

      The optional list of EBS snapshot IDs to describe.
      戻り値:
        The optional list of EBS snapshot IDs to describe.

    - #### setSnapshotIds

          public void setSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)

      The optional list of EBS snapshot IDs to describe.
      パラメータ:
        `snapshotIds` - The optional list of EBS snapshot IDs to describe.

    - #### withSnapshotIds

          public DescribeSnapshotsRequest withSnapshotIds(java.lang.String... snapshotIds)

      The optional list of EBS snapshot IDs to describe.

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

      パラメータ:
        `snapshotIds` - The optional list of EBS snapshot IDs to describe.

    - #### withSnapshotIds

          public DescribeSnapshotsRequest withSnapshotIds(java.util.Collection<java.lang.String> snapshotIds)

      The optional list of EBS snapshot IDs to describe.

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

      パラメータ:
        `snapshotIds` - The optional list of EBS snapshot IDs to describe.

    - #### getOwnerIds

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

      An optional list of owners by which to scope the described EBS snapshots. Valid values are:
      `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

      The values `self` and `amazon` are literals.

      戻り値:
        An optional list of owners by which to scope the described EBS snapshots. Valid values are:
        `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

        The values `self` and `amazon` are literals.

    - #### setOwnerIds

          public void setOwnerIds(java.util.Collection<java.lang.String> ownerIds)

      An optional list of owners by which to scope the described EBS snapshots. Valid values are:
      `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

      The values `self` and `amazon` are literals.

      パラメータ:
        `ownerIds` - An optional list of owners by which to scope the described EBS snapshots. Valid values are:
        `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

        The values `self` and `amazon` are literals.

    - #### withOwnerIds

          public DescribeSnapshotsRequest withOwnerIds(java.lang.String... ownerIds)

      An optional list of owners by which to scope the described EBS snapshots. Valid values are:
      `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

      The values `self` and `amazon` are literals.

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

      パラメータ:
        `ownerIds` - An optional list of owners by which to scope the described EBS snapshots. Valid values are:
        `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

        The values `self` and `amazon` are literals.

    - #### withOwnerIds

          public DescribeSnapshotsRequest withOwnerIds(java.util.Collection<java.lang.String> ownerIds)

      An optional list of owners by which to scope the described EBS snapshots. Valid values are:
      `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

      The values `self` and `amazon` are literals.

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

      パラメータ:
        `ownerIds` - An optional list of owners by which to scope the described EBS snapshots. Valid values are:
        `self` : Snapshots owned by you AWS account ID : Snapshots owned by this account ID `amazon` : Snapshots owned by Amazon

        The values `self` and `amazon` are literals.

    - #### getRestorableByUserIds

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

      An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.
      戻り値:
        An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

    - #### setRestorableByUserIds

          public void setRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)

      An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.
      パラメータ:
        `restorableByUserIds` - An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

    - #### withRestorableByUserIds

          public DescribeSnapshotsRequest withRestorableByUserIds(java.lang.String... restorableByUserIds)

      An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

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

      パラメータ:
        `restorableByUserIds` - An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

    - #### withRestorableByUserIds

          public DescribeSnapshotsRequest withRestorableByUserIds(java.util.Collection<java.lang.String> restorableByUserIds)

      An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

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

      パラメータ:
        `restorableByUserIds` - An optional list of users. The described snapshots are scoped to only those snapshots from which these users can create volumes.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeSnapshotsRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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