public class SpotPriceItem
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
instanceType
example:
ml.gu8xf.8xlarge-gu108
|
Float |
spotDiscount
example:
0.1
|
String |
timestamp
example:
2024-01-17T06:00:00Z
|
String |
zoneId
example:
cn-wulanchabu-a
|
| 构造器和说明 |
|---|
SpotPriceItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SpotPriceItem |
build(Map<String,?> map) |
String |
getInstanceType() |
Float |
getSpotDiscount() |
String |
getTimestamp() |
String |
getZoneId() |
SpotPriceItem |
setInstanceType(String instanceType) |
SpotPriceItem |
setSpotDiscount(Float spotDiscount) |
SpotPriceItem |
setTimestamp(String timestamp) |
SpotPriceItem |
setZoneId(String zoneId) |
@NameInMap(value="InstanceType") public String instanceType
ml.gu8xf.8xlarge-gu108
@NameInMap(value="SpotDiscount") public Float spotDiscount
0.1
@NameInMap(value="Timestamp") public String timestamp
2024-01-17T06:00:00Z
@NameInMap(value="ZoneId") public String zoneId
cn-wulanchabu-a
public static SpotPriceItem build(Map<String,?> map) throws Exception
Exceptionpublic SpotPriceItem setInstanceType(String instanceType)
public String getInstanceType()
public SpotPriceItem setSpotDiscount(Float spotDiscount)
public Float getSpotDiscount()
public SpotPriceItem setTimestamp(String timestamp)
public String getTimestamp()
public SpotPriceItem setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.