public class DescribeSpotPriceHistoryResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeSpotPriceHistory.
Constructor and Description |
---|
DescribeSpotPriceHistoryResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The token required to retrieve the next set of results.
|
java.util.List<SpotPrice> |
getSpotPriceHistory()
The historical Spot prices.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The token required to retrieve 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 token required to retrieve 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()
null
when there are no more results to return.null
when there are no more results to return.public void setNextToken(java.lang.String nextToken)
null
when there are no more results to return.nextToken
- The token required to retrieve the next set of results. This value is
null
when there are no more results to return.public DescribeSpotPriceHistoryResult withNextToken(java.lang.String nextToken)
null
when there are no more results to return.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token required to retrieve the next set of results. This value is
null
when there are no more results to return.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.