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, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theSpotPrice.Builder avoiding the need to create one manually
via SpotPrice.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #spotPriceHistory(List.
spotPriceHistory - a consumer that will call methods on
SpotPrice.Builder#spotPriceHistory(java.util.Collection) Copyright © 2022. All rights reserved.