public class DescribeSpotPriceHistoryResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeSpotPriceHistoryResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSpotPriceHistoryResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<SpotPrice> |
getSpotPriceHistory()
The historical Spot Prices.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotPriceHistoryResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
The historical Spot Prices.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(SpotPrice... spotPriceHistory)
The historical Spot Prices.
|
public List<SpotPrice> getSpotPriceHistory()
public void setSpotPriceHistory(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(Collection<SpotPrice> spotPriceHistory)
Returns a reference to this object so that method calls can be chained together.
spotPriceHistory - The historical Spot Prices.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public DescribeSpotPriceHistoryResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to use when requesting the next set of items. If there are
no additional items to return, the string is empty.public String toString()
toString in class ObjectObject.toString()public DescribeSpotPriceHistoryResult clone()
Copyright © 2015. All rights reserved.