Class DescribeSpotPriceHistoryResult

    • Constructor Detail

      • DescribeSpotPriceHistoryResult

        public DescribeSpotPriceHistoryResult()
    • Method Detail

      • getSpotPriceHistory

        public List<SpotPrice> getSpotPriceHistory()

        The historical Spot prices.

        Returns:
        The historical Spot prices.
      • setSpotPriceHistory

        public void setSpotPriceHistory​(Collection<SpotPrice> spotPriceHistory)

        The historical Spot prices.

        Parameters:
        spotPriceHistory - The historical Spot prices.
      • withSpotPriceHistory

        public DescribeSpotPriceHistoryResult withSpotPriceHistory​(Collection<SpotPrice> spotPriceHistory)

        The historical Spot prices.

        Parameters:
        spotPriceHistory - The historical Spot prices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The token required to retrieve the next set of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.
      • getNextToken

        public String getNextToken()

        The token required to retrieve the next set of results. This value is null when there are no more results to return.

        Returns:
        The token required to retrieve the next set of results. This value is null when there are no more results to return.
      • withNextToken

        public DescribeSpotPriceHistoryResult withNextToken​(String nextToken)

        The token required to retrieve the next set of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object