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 to include in another request to get the next page of items.
|
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 to include in another request to get the next page of items. This value is null when
there are no more items to return.
nextToken - The token to include in another request to get the next page of items. This value is null
when there are no more items 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 © 2023. All rights reserved.