public class InstanceInitInfo extends AbstractModel
Constructor and Description |
---|
InstanceInitInfo() |
InstanceInitInfo(InstanceInitInfo 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 Instance CPU
|
Long |
getInstanceCount()
Get Number of the instances.
|
String |
getInstanceType()
Get Instance type.
|
Long |
getMemory()
Get Instance memory
|
void |
setCpu(Long Cpu)
Set Instance CPU
|
void |
setInstanceCount(Long InstanceCount)
Set Number of the instances.
|
void |
setInstanceType(String InstanceType)
Set Instance type.
|
void |
setMemory(Long Memory)
Set Instance memory
|
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, toJsonString
public InstanceInitInfo()
public InstanceInitInfo(InstanceInitInfo source)
public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Instance CPUpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Instance memorypublic String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Instance type. Valid values:`rw`, `ro`.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of the instances. Value range: 1-15.Copyright © 2023. All rights reserved.