public class DescribeSpotDiscountHistoryRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
instanceType
The type of the Elastic Algorithm Service (EAS) instance.
|
Boolean |
isProtect
Specifies whether the preemptible instance has a protection period.
|
| 构造器和说明 |
|---|
DescribeSpotDiscountHistoryRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeSpotDiscountHistoryRequest |
build(Map<String,?> map) |
String |
getInstanceType() |
Boolean |
getIsProtect() |
DescribeSpotDiscountHistoryRequest |
setInstanceType(String instanceType) |
DescribeSpotDiscountHistoryRequest |
setIsProtect(Boolean isProtect) |
@NameInMap(value="InstanceType") public String instanceType
The type of the Elastic Algorithm Service (EAS) instance.
This parameter is required.
example:ecs.c6.4xlarge
@NameInMap(value="IsProtect") public Boolean isProtect
Specifies whether the preemptible instance has a protection period. During the 1-hour protection period of the preemptible instance, the preemptible instance will not be released.
example:false
public static DescribeSpotDiscountHistoryRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeSpotDiscountHistoryRequest setInstanceType(String instanceType)
public String getInstanceType()
public DescribeSpotDiscountHistoryRequest setIsProtect(Boolean isProtect)
public Boolean getIsProtect()
Copyright © 2024. All rights reserved.