public class SpotBidPreviewItem
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
active
Indicates whether the spot bid is active.
|
Boolean |
allowCrossHpnZone
Determines whether instances can be deployed across different High-Performance Network (HPN) zones.
|
String |
clusterId
The ID of the cluster where resources are provisioned.
|
String |
gcLevel
The GC level for the spot instance.
|
String |
instanceType
The type of compute instance.
|
String |
jobName
The name of the associated job.
|
Double |
maxDiscount
The maximum discount percentage from the on-demand price.
|
String |
message
A message that provides additional details about the current phase.
|
String |
name
The name of the spot bid preview.
|
String |
phase
The current phase of the spot bid preview.
|
Integer |
replicas
The number of instance replicas.
|
| 构造器和说明 |
|---|
SpotBidPreviewItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SpotBidPreviewItem |
build(Map<String,?> map) |
Boolean |
getActive() |
Boolean |
getAllowCrossHpnZone() |
String |
getClusterId() |
String |
getGcLevel() |
String |
getInstanceType() |
String |
getJobName() |
Double |
getMaxDiscount() |
String |
getMessage() |
String |
getName() |
String |
getPhase() |
Integer |
getReplicas() |
SpotBidPreviewItem |
setActive(Boolean active) |
SpotBidPreviewItem |
setAllowCrossHpnZone(Boolean allowCrossHpnZone) |
SpotBidPreviewItem |
setClusterId(String clusterId) |
SpotBidPreviewItem |
setGcLevel(String gcLevel) |
SpotBidPreviewItem |
setInstanceType(String instanceType) |
SpotBidPreviewItem |
setJobName(String jobName) |
SpotBidPreviewItem |
setMaxDiscount(Double maxDiscount) |
SpotBidPreviewItem |
setMessage(String message) |
SpotBidPreviewItem |
setName(String name) |
SpotBidPreviewItem |
setPhase(String phase) |
SpotBidPreviewItem |
setReplicas(Integer replicas) |
@NameInMap(value="active") public Boolean active
Indicates whether the spot bid is active. If set to false, the bid is paused.
@NameInMap(value="allowCrossHpnZone") public Boolean allowCrossHpnZone
Determines whether instances can be deployed across different High-Performance Network (HPN) zones. Defaults to false.
@NameInMap(value="clusterId") public String clusterId
The ID of the cluster where resources are provisioned.
@NameInMap(value="gcLevel") public String gcLevel
The GC level for the spot instance.
@NameInMap(value="instanceType") public String instanceType
The type of compute instance.
@NameInMap(value="jobName") public String jobName
The name of the associated job.
@NameInMap(value="maxDiscount") public Double maxDiscount
The maximum discount percentage from the on-demand price.
@NameInMap(value="message") public String message
A message that provides additional details about the current phase.
@NameInMap(value="name") public String name
The name of the spot bid preview.
@NameInMap(value="phase") public String phase
The current phase of the spot bid preview. Valid values are Pending, Active, and Failed.
@NameInMap(value="replicas") public Integer replicas
The number of instance replicas.
public static SpotBidPreviewItem build(Map<String,?> map) throws Exception
Exceptionpublic SpotBidPreviewItem setActive(Boolean active)
public Boolean getActive()
public SpotBidPreviewItem setAllowCrossHpnZone(Boolean allowCrossHpnZone)
public Boolean getAllowCrossHpnZone()
public SpotBidPreviewItem setClusterId(String clusterId)
public String getClusterId()
public SpotBidPreviewItem setGcLevel(String gcLevel)
public String getGcLevel()
public SpotBidPreviewItem setInstanceType(String instanceType)
public String getInstanceType()
public SpotBidPreviewItem setJobName(String jobName)
public String getJobName()
public SpotBidPreviewItem setMaxDiscount(Double maxDiscount)
public Double getMaxDiscount()
public SpotBidPreviewItem setMessage(String message)
public String getMessage()
public SpotBidPreviewItem setName(String name)
public String getName()
public SpotBidPreviewItem setPhase(String phase)
public String getPhase()
public SpotBidPreviewItem setReplicas(Integer replicas)
public Integer getReplicas()
Copyright © 2026. All rights reserved.