public class NodeResourceSpec extends AbstractModel
Constructor and Description |
---|
NodeResourceSpec() |
NodeResourceSpec(NodeResourceSpec 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 |
---|---|
DiskSpecInfo[] |
getDataDisk()
Get The cloud data disk, which can be up to 15 PCS.
|
String |
getInstanceType()
Get The spec type, such as `S2.MEDIUM8`.
|
DiskSpecInfo[] |
getLocalDataDisk()
Get The local data disk.
|
DiskSpecInfo[] |
getSystemDisk()
Get The system disk, which can be up to 1 PCS.
|
Tag[] |
getTags()
Get The list of tags to be bound.
|
void |
setDataDisk(DiskSpecInfo[] DataDisk)
Set The cloud data disk, which can be up to 15 PCS.
|
void |
setInstanceType(String InstanceType)
Set The spec type, such as `S2.MEDIUM8`.
|
void |
setLocalDataDisk(DiskSpecInfo[] LocalDataDisk)
Set The local data disk.
|
void |
setSystemDisk(DiskSpecInfo[] SystemDisk)
Set The system disk, which can be up to 1 PCS.
|
void |
setTags(Tag[] Tags)
Set The list of tags to be bound.
|
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 NodeResourceSpec()
public NodeResourceSpec(NodeResourceSpec source)
public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- The spec type, such as `S2.MEDIUM8`.
Note: This field may return null, indicating that no valid values can be obtained.public DiskSpecInfo[] getSystemDisk()
public void setSystemDisk(DiskSpecInfo[] SystemDisk)
SystemDisk
- The system disk, which can be up to 1 PCS.
Note: This field may return null, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- The list of tags to be bound.
Note: This field may return null, indicating that no valid values can be obtained.public DiskSpecInfo[] getDataDisk()
public void setDataDisk(DiskSpecInfo[] DataDisk)
DataDisk
- The cloud data disk, which can be up to 15 PCS.
Note: This field may return null, indicating that no valid values can be obtained.public DiskSpecInfo[] getLocalDataDisk()
public void setLocalDataDisk(DiskSpecInfo[] LocalDataDisk)
LocalDataDisk
- The local data disk.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.