public class SpotStockItem
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
instanceType
The instance type.
|
List<SpotStockInternalInfo> |
internalInfo
Internal information about the stock of the spot instance type.
|
String |
stockStatus
The stock status of the instance type.
|
| 构造器和说明 |
|---|
SpotStockItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SpotStockItem |
build(Map<String,?> map) |
String |
getInstanceType() |
List<SpotStockInternalInfo> |
getInternalInfo() |
String |
getStockStatus() |
SpotStockItem |
setInstanceType(String instanceType) |
SpotStockItem |
setInternalInfo(List<SpotStockInternalInfo> internalInfo) |
SpotStockItem |
setStockStatus(String stockStatus) |
@NameInMap(value="instanceType") public String instanceType
The instance type.
@NameInMap(value="internalInfo") public List<SpotStockInternalInfo> internalInfo
Internal information about the stock of the spot instance type.
@NameInMap(value="stockStatus") public String stockStatus
The stock status of the instance type. Valid values are Available and SoldOut.
public static SpotStockItem build(Map<String,?> map) throws Exception
Exceptionpublic SpotStockItem setInstanceType(String instanceType)
public String getInstanceType()
public SpotStockItem setInternalInfo(List<SpotStockInternalInfo> internalInfo)
public List<SpotStockInternalInfo> getInternalInfo()
public SpotStockItem setStockStatus(String stockStatus)
public String getStockStatus()
Copyright © 2026. All rights reserved.