CopyableBuilder<DescribeSpotPriceHistoryResponse.Builder,DescribeSpotPriceHistoryResponse>
, SdkBuilder<DescribeSpotPriceHistoryResponse.Builder,DescribeSpotPriceHistoryResponse>
public static interface DescribeSpotPriceHistoryResponse.Builder extends CopyableBuilder<DescribeSpotPriceHistoryResponse.Builder,DescribeSpotPriceHistoryResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeSpotPriceHistoryResponse.Builder |
nextToken(String nextToken) |
The token required to retrieve the next set of results.
|
DescribeSpotPriceHistoryResponse.Builder |
spotPriceHistory(Collection<SpotPrice> spotPriceHistory) |
The historical Spot prices.
|
DescribeSpotPriceHistoryResponse.Builder |
spotPriceHistory(SpotPrice... spotPriceHistory) |
The historical Spot prices.
|
copy
apply, build
DescribeSpotPriceHistoryResponse.Builder nextToken(String nextToken)
The token required to retrieve the next set of results. This value is 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.DescribeSpotPriceHistoryResponse.Builder spotPriceHistory(Collection<SpotPrice> spotPriceHistory)
The historical Spot prices.
spotPriceHistory
- The historical Spot prices.DescribeSpotPriceHistoryResponse.Builder spotPriceHistory(SpotPrice... spotPriceHistory)
The historical Spot prices.
NOTE: This method appends the values to the existing list (if any). Use
#setSpotPriceHistory(java.util.Collection)
or #withSpotPriceHistory(java.util.Collection)
if
you want to override the existing values.
spotPriceHistory
- The historical Spot prices.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.