public class DescribeSpotPriceHistoryResult extends Object implements Serializable
Constructor and Description |
---|
DescribeSpotPriceHistoryResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNextToken()
The string marking the next set of results returned.
|
List<SpotPrice> |
getSpotPriceHistory()
Returns the value of the SpotPriceHistory property for this object.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The string marking the next set of results returned.
|
void |
setSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSpotPriceHistoryResult |
withNextToken(String nextToken)
The string marking the next set of results returned.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.
|
DescribeSpotPriceHistoryResult |
withSpotPriceHistory(SpotPrice... spotPriceHistory)
Sets the value of the SpotPriceHistory property for this object.
|
public List<SpotPrice> getSpotPriceHistory()
public void setSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
spotPriceHistory
- The new value for the SpotPriceHistory property for this object.public DescribeSpotPriceHistoryResult withSpotPriceHistory(SpotPrice... spotPriceHistory)
Returns a reference to this object so that method calls can be chained together.
spotPriceHistory
- The new value for the SpotPriceHistory property for this object.public DescribeSpotPriceHistoryResult withSpotPriceHistory(Collection<SpotPrice> spotPriceHistory)
Returns a reference to this object so that method calls can be chained together.
spotPriceHistory
- The new value for the SpotPriceHistory property for this object.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The string marking the next set of results returned. Displays empty if
there are no more results to be returned.public DescribeSpotPriceHistoryResult withNextToken(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 returned. Displays empty if
there are no more results to be returned.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.