Class DescribeSpotPriceHistoryResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeSpotPriceHistory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The token required to retrieve the next set of results.The historical Spot prices.int
hashCode()
void
setNextToken
(String nextToken) The token required to retrieve the next set of results.void
setSpotPriceHistory
(Collection<SpotPrice> spotPriceHistory) The historical Spot prices.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) The token required to retrieve the next set of results.withSpotPriceHistory
(SpotPrice... spotPriceHistory) The historical Spot prices.withSpotPriceHistory
(Collection<SpotPrice> spotPriceHistory) The historical Spot prices.
-
Constructor Details
-
DescribeSpotPriceHistoryResult
public DescribeSpotPriceHistoryResult()
-
-
Method Details
-
getSpotPriceHistory
The historical Spot prices.
- Returns:
- The historical Spot prices.
-
setSpotPriceHistory
The historical Spot prices.
- Parameters:
spotPriceHistory
- The historical Spot prices.
-
withSpotPriceHistory
The historical Spot prices.
NOTE: This method appends the values to the existing list (if any). Use
setSpotPriceHistory(java.util.Collection)
orwithSpotPriceHistory(java.util.Collection)
if you want to override the existing values.- Parameters:
spotPriceHistory
- The historical Spot prices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSpotPriceHistory
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
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 isnull
when there are no more results to return.
-
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
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 isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-