public class ServerlessSpec extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ServerlessSpec() | 
| ServerlessSpec(ServerlessSpec source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getHasStock()Get 是否有库存 | 
| Long | getIsDefault()Get 是否为默认规格 | 
| Float | getMaxCpu()Get cpu最大值 | 
| Long | getMaxStorageSize()Get 最大存储空间 | 
| Float | getMinCpu()Get cpu最小值 | 
| Long | getStockCount()Get 库存数量 | 
| ServerlessZoneStockInfo[] | getZoneStockInfos()Get 可用区库存信息
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setHasStock(Boolean HasStock)Set 是否有库存 | 
| void | setIsDefault(Long IsDefault)Set 是否为默认规格 | 
| void | setMaxCpu(Float MaxCpu)Set cpu最大值 | 
| void | setMaxStorageSize(Long MaxStorageSize)Set 最大存储空间 | 
| void | setMinCpu(Float MinCpu)Set cpu最小值 | 
| void | setStockCount(Long StockCount)Set 库存数量 | 
| void | setZoneStockInfos(ServerlessZoneStockInfo[] ZoneStockInfos)Set 可用区库存信息
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ServerlessSpec()
public ServerlessSpec(ServerlessSpec source)
public Float getMinCpu()
public void setMinCpu(Float MinCpu)
MinCpu - cpu最小值public Float getMaxCpu()
public void setMaxCpu(Float MaxCpu)
MaxCpu - cpu最大值public Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize - 最大存储空间public Long getIsDefault()
public void setIsDefault(Long IsDefault)
IsDefault - 是否为默认规格public Boolean getHasStock()
public void setHasStock(Boolean HasStock)
HasStock - 是否有库存public Long getStockCount()
public void setStockCount(Long StockCount)
StockCount - 库存数量public ServerlessZoneStockInfo[] getZoneStockInfos()
public void setZoneStockInfos(ServerlessZoneStockInfo[] ZoneStockInfos)
ZoneStockInfos - 可用区库存信息
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.