public class InstanceTypeInfo extends AbstractModel
| Constructor and Description |
|---|
InstanceTypeInfo() |
InstanceTypeInfo(InstanceTypeInfo 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 |
|---|---|
Long |
getCpu()
Get CPU,例如1核就是1
|
String |
getInstanceType()
Get 类型,例如"SA1.SMALL1"
|
Long |
getMemory()
Get 内存,例如2G就是2
|
Long |
getNetworkCard()
Get 网络收到包,例如25万PPS就是25
|
String |
getTypeName()
Get 类型名,例如“标准型SA1”
|
void |
setCpu(Long Cpu)
Set CPU,例如1核就是1
|
void |
setInstanceType(String InstanceType)
Set 类型,例如"SA1.SMALL1"
|
void |
setMemory(Long Memory)
Set 内存,例如2G就是2
|
void |
setNetworkCard(Long NetworkCard)
Set 网络收到包,例如25万PPS就是25
|
void |
setTypeName(String TypeName)
Set 类型名,例如“标准型SA1”
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic InstanceTypeInfo()
public InstanceTypeInfo(InstanceTypeInfo source)
public String getTypeName()
public void setTypeName(String TypeName)
TypeName - 类型名,例如“标准型SA1”public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - 类型,例如"SA1.SMALL1"public Long getCpu()
public void setCpu(Long Cpu)
Cpu - CPU,例如1核就是1public Long getMemory()
public void setMemory(Long Memory)
Memory - 内存,例如2G就是2public Long getNetworkCard()
public void setNetworkCard(Long NetworkCard)
NetworkCard - 网络收到包,例如25万PPS就是25Copyright © 2021. All rights reserved.