public class GetSpotPriceHistoryResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
requestId
The request ID.
|
List<SpotPriceItem> |
spotPriceHistory
A list of historical spot instance price details
|
Integer |
totalCount
The total number of historical spot instance prices
example:
194
|
| 构造器和说明 |
|---|
GetSpotPriceHistoryResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetSpotPriceHistoryResponseBody |
build(Map<String,?> map) |
String |
getRequestId() |
List<SpotPriceItem> |
getSpotPriceHistory() |
Integer |
getTotalCount() |
GetSpotPriceHistoryResponseBody |
setRequestId(String requestId) |
GetSpotPriceHistoryResponseBody |
setSpotPriceHistory(List<SpotPriceItem> spotPriceHistory) |
GetSpotPriceHistoryResponseBody |
setTotalCount(Integer totalCount) |
@NameInMap(value="RequestId") public String requestId
The request ID.
example:8BDA4440-DD3C-5F4B-BBDD-94A9CE1E75C7
@NameInMap(value="SpotPriceHistory") public List<SpotPriceItem> spotPriceHistory
A list of historical spot instance price details
@NameInMap(value="TotalCount") public Integer totalCount
The total number of historical spot instance prices
example:194
public static GetSpotPriceHistoryResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic GetSpotPriceHistoryResponseBody setRequestId(String requestId)
public String getRequestId()
public GetSpotPriceHistoryResponseBody setSpotPriceHistory(List<SpotPriceItem> spotPriceHistory)
public List<SpotPriceItem> getSpotPriceHistory()
public GetSpotPriceHistoryResponseBody setTotalCount(Integer totalCount)
public Integer getTotalCount()
Copyright © 2026. All rights reserved.