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 Whether there is inventory.
|
Long |
getIsDefault()
Get Specifies whether it is the default specification.
|
Float |
getMaxCpu()
Get Maximum value of cpu.
|
Long |
getMaxStorageSize()
Get Maximum storage space.
|
Float |
getMinCpu()
Get Specifies the minimum value of the cpu.
|
Long |
getStockCount()
Get Inventory quantity.
|
ServerlessZoneStockInfo[] |
getZoneStockInfos()
Get Availability zone inventory information.
|
void |
setHasStock(Boolean HasStock)
Set Whether there is inventory.
|
void |
setIsDefault(Long IsDefault)
Set Specifies whether it is the default specification.
|
void |
setMaxCpu(Float MaxCpu)
Set Maximum value of cpu.
|
void |
setMaxStorageSize(Long MaxStorageSize)
Set Maximum storage space.
|
void |
setMinCpu(Float MinCpu)
Set Specifies the minimum value of the cpu.
|
void |
setStockCount(Long StockCount)
Set Inventory quantity.
|
void |
setZoneStockInfos(ServerlessZoneStockInfo[] ZoneStockInfos)
Set Availability zone inventory information.
|
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, toJsonString
public ServerlessSpec()
public ServerlessSpec(ServerlessSpec source)
public Float getMinCpu()
public void setMinCpu(Float MinCpu)
MinCpu
- Specifies the minimum value of the cpu.public Float getMaxCpu()
public void setMaxCpu(Float MaxCpu)
MaxCpu
- Maximum value of cpu.public Long getMaxStorageSize()
public void setMaxStorageSize(Long MaxStorageSize)
MaxStorageSize
- Maximum storage space.public Long getIsDefault()
public void setIsDefault(Long IsDefault)
IsDefault
- Specifies whether it is the default specification.public Boolean getHasStock()
public void setHasStock(Boolean HasStock)
HasStock
- Whether there is inventory.public Long getStockCount()
public void setStockCount(Long StockCount)
StockCount
- Inventory quantity.public ServerlessZoneStockInfo[] getZoneStockInfos()
public void setZoneStockInfos(ServerlessZoneStockInfo[] ZoneStockInfos)
ZoneStockInfos
- Availability zone inventory information.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.