com.aliyun.eds_aic20230930.models.CheckResourceStockRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eds_aic20230930 Show documentation
Show all versions of eds_aic20230930 Show documentation
Alibaba Cloud eds-aic (20230930) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eds_aic20230930.models;
import com.aliyun.tea.*;
public class CheckResourceStockRequest extends TeaModel {
/**
* example:
* acp.basic.small
*/
@NameInMap("AcpSpecId")
public String acpSpecId;
@NameInMap("Amount")
public Integer amount;
/**
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("BizRegionId")
public String bizRegionId;
@NameInMap("GpuAcceleration")
public Boolean gpuAcceleration;
/**
* example:
* cn-hangzhou-i
*/
@NameInMap("ZoneId")
public String zoneId;
public static CheckResourceStockRequest build(java.util.Map map) throws Exception {
CheckResourceStockRequest self = new CheckResourceStockRequest();
return TeaModel.build(map, self);
}
public CheckResourceStockRequest setAcpSpecId(String acpSpecId) {
this.acpSpecId = acpSpecId;
return this;
}
public String getAcpSpecId() {
return this.acpSpecId;
}
public CheckResourceStockRequest setAmount(Integer amount) {
this.amount = amount;
return this;
}
public Integer getAmount() {
return this.amount;
}
public CheckResourceStockRequest setBizRegionId(String bizRegionId) {
this.bizRegionId = bizRegionId;
return this;
}
public String getBizRegionId() {
return this.bizRegionId;
}
public CheckResourceStockRequest setGpuAcceleration(Boolean gpuAcceleration) {
this.gpuAcceleration = gpuAcceleration;
return this;
}
public Boolean getGpuAcceleration() {
return this.gpuAcceleration;
}
public CheckResourceStockRequest setZoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public String getZoneId() {
return this.zoneId;
}
}