public static interface DescribeSpotPriceHistoryResponse.Builder extends EC2Response.Builder, CopyableBuilder<DescribeSpotPriceHistoryResponse.Builder,DescribeSpotPriceHistoryResponse>
| Modifier and Type | Method and 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(Consumer<SpotPrice.Builder>... spotPriceHistory)
The historical Spot prices.
|
DescribeSpotPriceHistoryResponse.Builder |
spotPriceHistory(SpotPrice... spotPriceHistory)
The historical Spot prices.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeSpotPriceHistoryResponse.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.
spotPriceHistory - The historical Spot prices.DescribeSpotPriceHistoryResponse.Builder spotPriceHistory(Consumer<SpotPrice.Builder>... spotPriceHistory)
The historical Spot prices.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #spotPriceHistory(List) .spotPriceHistory - a consumer that will call methods on List.Builder #spotPriceHistory(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.