public class CustomConfig extends AbstractModel
Constructor and Description |
---|
CustomConfig() |
CustomConfig(CustomConfig 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 Number of CPU cores
Note: this field may return `null`, indicating that no valid value can be found.
|
String |
getDevice()
Get Device
Note: this field may return `null`, indicating that no valid value can be found.
|
String |
getDeviceType()
Get Device type
Note: this field may return `null`, indicating that no valid value can be found.
|
Long |
getMemory()
Get Memory
Note: this field may return `null`, indicating that no valid value can be found.
|
String |
getType()
Get Type
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setDevice(String Device)
Set Device
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setDeviceType(String DeviceType)
Set Device type
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setMemory(Long Memory)
Set Memory
Note: this field may return `null`, indicating that no valid value can be found.
|
void |
setType(String Type)
Set Type
Note: this field may return `null`, indicating that no valid value can be found.
|
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 CustomConfig()
public CustomConfig(CustomConfig source)
public String getDevice()
public void setDevice(String Device)
Device
- Device
Note: this field may return `null`, indicating that no valid value can be found.public String getType()
public void setType(String Type)
Type
- Type
Note: this field may return `null`, indicating that no valid value can be found.public String getDeviceType()
public void setDeviceType(String DeviceType)
DeviceType
- Device type
Note: this field may return `null`, indicating that no valid value can be found.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory
Note: this field may return `null`, indicating that no valid value can be found.public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU cores
Note: this field may return `null`, indicating that no valid value can be found.Copyright © 2023. All rights reserved.