public class DescribeSpotPriceHistoryResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DescribeSpotPriceHistoryResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The string marking the next set of results.
|
java.util.List<SpotPrice> |
getSpotPriceHistory()
The historical Spot Prices.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The string marking the next set of results.
|
void |
setSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotPriceHistoryResult |
withNextToken(java.lang.String nextToken)
The string marking the next set of results.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(SpotPrice... spotPriceHistory)
The historical Spot Prices.
|
public java.util.List<SpotPrice> getSpotPriceHistory()
public void setSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
spotPriceHistory - The historical Spot Prices.public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory)
Returns a reference to this object so that method calls can be chained together.
spotPriceHistory - The historical Spot Prices.public DescribeSpotPriceHistoryResult withSpotPriceHistory(java.util.Collection<SpotPrice> spotPriceHistory)
Returns a reference to this object so that method calls can be chained together.
spotPriceHistory - The historical Spot Prices.public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken - The string marking the next set of results. This is empty if there are
no more results.public DescribeSpotPriceHistoryResult withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The string marking the next set of results. This is empty if there are
no more results.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object