com.amazonaws.services.ec2.model

## クラス DescribeSpotPriceHistoryRequest

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

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

      public class DescribeSpotPriceHistoryRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DescribeSpotPriceHistory operation`.

  Describes the Spot Price history.

  Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

  For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAvailabilityZone()` Filters the results by availability zone (ex: 'us-east-1a').
    `java.util.Date` | `getEndTime()` The end date and time of the Spot Instance price history data.
    `java.util.List<Filter>` | `getFilters()` A list of filters used to match properties for SpotPriceHistory.
    `java.util.List<java.lang.String>` | `getInstanceTypes()` Specifies the instance type to return.
    `java.lang.Integer` | `getMaxResults()` Specifies the number of rows to return.
    `java.lang.String` | `getNextToken()` Specifies the next set of rows to return.
    `java.util.List<java.lang.String>` | `getProductDescriptions()` The description of the AMI.
    `java.util.Date` | `getStartTime()` The start date and time of the Spot Instance price history data.
    `int` | `hashCode()`
    `void` | `setAvailabilityZone(java.lang.String availabilityZone)` Filters the results by availability zone (ex: 'us-east-1a').
    `void` | `setEndTime(java.util.Date endTime)` The end date and time of the Spot Instance price history data.
    `void` | `setFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for SpotPriceHistory.
    `void` | `setInstanceTypes(java.util.Collection<java.lang.String> instanceTypes)` Specifies the instance type to return.
    `void` | `setMaxResults(java.lang.Integer maxResults)` Specifies the number of rows to return.
    `void` | `setNextToken(java.lang.String nextToken)` Specifies the next set of rows to return.
    `void` | `setProductDescriptions(java.util.Collection<java.lang.String> productDescriptions)` The description of the AMI.
    `void` | `setStartTime(java.util.Date startTime)` The start date and time of the Spot Instance price history data.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribeSpotPriceHistoryRequest` | `withAvailabilityZone(java.lang.String availabilityZone)` Filters the results by availability zone (ex: 'us-east-1a').
    `DescribeSpotPriceHistoryRequest` | `withEndTime(java.util.Date endTime)` The end date and time of the Spot Instance price history data.
    `DescribeSpotPriceHistoryRequest` | `withFilters(java.util.Collection<Filter> filters)` A list of filters used to match properties for SpotPriceHistory.
    `DescribeSpotPriceHistoryRequest` | `withFilters(Filter... filters)` A list of filters used to match properties for SpotPriceHistory.
    `DescribeSpotPriceHistoryRequest` | `withInstanceTypes(java.util.Collection<java.lang.String> instanceTypes)` Specifies the instance type to return.
    `DescribeSpotPriceHistoryRequest` | `withInstanceTypes(java.lang.String... instanceTypes)` Specifies the instance type to return.
    `DescribeSpotPriceHistoryRequest` | `withMaxResults(java.lang.Integer maxResults)` Specifies the number of rows to return.
    `DescribeSpotPriceHistoryRequest` | `withNextToken(java.lang.String nextToken)` Specifies the next set of rows to return.
    `DescribeSpotPriceHistoryRequest` | `withProductDescriptions(java.util.Collection<java.lang.String> productDescriptions)` The description of the AMI.
    `DescribeSpotPriceHistoryRequest` | `withProductDescriptions(java.lang.String... productDescriptions)` The description of the AMI.
    `DescribeSpotPriceHistoryRequest` | `withStartTime(java.util.Date startTime)` The start date and time of the Spot Instance price history data.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DescribeSpotPriceHistoryRequest

          public DescribeSpotPriceHistoryRequest()

  - ### メソッドの詳細

    - #### getStartTime

          public java.util.Date getStartTime()

      The start date and time of the Spot Instance price history data.
      戻り値:
        The start date and time of the Spot Instance price history data.

    - #### setStartTime

          public void setStartTime(java.util.Date startTime)

      The start date and time of the Spot Instance price history data.
      パラメータ:
        `startTime` - The start date and time of the Spot Instance price history data.

    - #### withStartTime

          public DescribeSpotPriceHistoryRequest withStartTime(java.util.Date startTime)

      The start date and time of the Spot Instance price history data.

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

      パラメータ:
        `startTime` - The start date and time of the Spot Instance price history data.

    - #### getEndTime

          public java.util.Date getEndTime()

      The end date and time of the Spot Instance price history data.
      戻り値:
        The end date and time of the Spot Instance price history data.

    - #### setEndTime

          public void setEndTime(java.util.Date endTime)

      The end date and time of the Spot Instance price history data.
      パラメータ:
        `endTime` - The end date and time of the Spot Instance price history data.

    - #### withEndTime

          public DescribeSpotPriceHistoryRequest withEndTime(java.util.Date endTime)

      The end date and time of the Spot Instance price history data.

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

      パラメータ:
        `endTime` - The end date and time of the Spot Instance price history data.

    - #### getInstanceTypes

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

      Specifies the instance type to return.
      戻り値:
        Specifies the instance type to return.

    - #### setInstanceTypes

          public void setInstanceTypes(java.util.Collection<java.lang.String> instanceTypes)

      Specifies the instance type to return.
      パラメータ:
        `instanceTypes` - Specifies the instance type to return.

    - #### withInstanceTypes

          public DescribeSpotPriceHistoryRequest withInstanceTypes(java.lang.String... instanceTypes)

      Specifies the instance type to return.

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

      パラメータ:
        `instanceTypes` - Specifies the instance type to return.

    - #### withInstanceTypes

          public DescribeSpotPriceHistoryRequest withInstanceTypes(java.util.Collection<java.lang.String> instanceTypes)

      Specifies the instance type to return.

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

      パラメータ:
        `instanceTypes` - Specifies the instance type to return.

    - #### getProductDescriptions

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

      The description of the AMI.
      戻り値:
        The description of the AMI.

    - #### setProductDescriptions

          public void setProductDescriptions(java.util.Collection<java.lang.String> productDescriptions)

      The description of the AMI.
      パラメータ:
        `productDescriptions` - The description of the AMI.

    - #### withProductDescriptions

          public DescribeSpotPriceHistoryRequest withProductDescriptions(java.lang.String... productDescriptions)

      The description of the AMI.

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

      パラメータ:
        `productDescriptions` - The description of the AMI.

    - #### withProductDescriptions

          public DescribeSpotPriceHistoryRequest withProductDescriptions(java.util.Collection<java.lang.String> productDescriptions)

      The description of the AMI.

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

      パラメータ:
        `productDescriptions` - The description of the AMI.

    - #### getFilters

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

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

    - #### withFilters

          public DescribeSpotPriceHistoryRequest withFilters(Filter... filters)

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

    - #### withFilters

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

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

    - #### getAvailabilityZone

          public java.lang.String getAvailabilityZone()

      Filters the results by availability zone (ex: 'us-east-1a').
      戻り値:
        Filters the results by availability zone (ex: 'us-east-1a').

    - #### setAvailabilityZone

          public void setAvailabilityZone(java.lang.String availabilityZone)

      Filters the results by availability zone (ex: 'us-east-1a').
      パラメータ:
        `availabilityZone` - Filters the results by availability zone (ex: 'us-east-1a').

    - #### withAvailabilityZone

          public DescribeSpotPriceHistoryRequest withAvailabilityZone(java.lang.String availabilityZone)

      Filters the results by availability zone (ex: 'us-east-1a').

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

      パラメータ:
        `availabilityZone` - Filters the results by availability zone (ex: 'us-east-1a').

    - #### getMaxResults

          public java.lang.Integer getMaxResults()

      Specifies the number of rows to return.
      戻り値:
        Specifies the number of rows to return.

    - #### setMaxResults

          public void setMaxResults(java.lang.Integer maxResults)

      Specifies the number of rows to return.
      パラメータ:
        `maxResults` - Specifies the number of rows to return.

    - #### withMaxResults

          public DescribeSpotPriceHistoryRequest withMaxResults(java.lang.Integer maxResults)

      Specifies the number of rows to return.

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

      パラメータ:
        `maxResults` - Specifies the number of rows to return.

    - #### getNextToken

          public java.lang.String getNextToken()

      Specifies the next set of rows to return.
      戻り値:
        Specifies the next set of rows to return.

    - #### setNextToken

          public void setNextToken(java.lang.String nextToken)

      Specifies the next set of rows to return.
      パラメータ:
        `nextToken` - Specifies the next set of rows to return.

    - #### withNextToken

          public DescribeSpotPriceHistoryRequest withNextToken(java.lang.String nextToken)

      Specifies the next set of rows to return.

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

      パラメータ:
        `nextToken` - Specifies the next set of rows to return.

    - #### 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`