public static interface DescribeSpotPriceHistoryResponse.Builder extends Ec2Response.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildDescribeSpotPriceHistoryResponse.Builder nextToken(String nextToken)
The token required to retrieve the next set of results. This value is null or an empty string when there are no more results to return.
nextToken - The token required to retrieve the next set of results. This value is null or an empty string 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.