public class NodeInfo extends AbstractModel
Constructor and Description |
---|
NodeInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getDiskCount()
Get Number of node disks
|
Long |
getDiskEncrypt()
Get Whether to encrypt node disk.
|
Long |
getDiskSize()
Get Node disk size in GB
|
String |
getDiskType()
Get Node disk type CLOUD_SSD: SSD cloud storage CLOUD_PREMIUM: Premium cloud disk Default value: CLOUD_SSD
|
LocalDiskInfo |
getLocalDiskInfo()
Get Local disk information
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getNodeNum()
Get Number of nodes
|
String |
getNodeType()
Get Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
|
String |
getType()
Get Node type hotData: hot data node
warmData: warm data node
dedicatedMaster: dedicated primary node
Default value: hotData
|
void |
setDiskCount(Long DiskCount)
Set Number of node disks
|
void |
setDiskEncrypt(Long DiskEncrypt)
Set Whether to encrypt node disk.
|
void |
setDiskSize(Long DiskSize)
Set Node disk size in GB
|
void |
setDiskType(String DiskType)
Set Node disk type CLOUD_SSD: SSD cloud storage CLOUD_PREMIUM: Premium cloud disk Default value: CLOUD_SSD
|
void |
setLocalDiskInfo(LocalDiskInfo LocalDiskInfo)
Set Local disk information
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setNodeNum(Long NodeNum)
Set Number of nodes
|
void |
setNodeType(String NodeType)
Set Node specification ES.S1.SMALL2: 1-core 2 GB ES.S1.MEDIUM4: 2-core 4 GB ES.S1.MEDIUM8: 2-core 8 GB ES.S1.LARGE16: 4-core 16 GB ES.S1.2XLARGE32: 8-core 32 GB ES.S1.4XLARGE32: 16-core 32 GB ES.S1.4XLARGE64: 16-core 64 GB
|
void |
setType(String Type)
Set Node type hotData: hot data node
warmData: warm data node
dedicatedMaster: dedicated primary node
Default value: hotData
|
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 Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- Number of nodespublic String getNodeType()
public void setNodeType(String NodeType)
NodeType
- Node specification public String getType()
public void setType(String Type)
Type
- Node type public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Node disk type public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- Node disk size in GBpublic LocalDiskInfo getLocalDiskInfo()
public void setLocalDiskInfo(LocalDiskInfo LocalDiskInfo)
LocalDiskInfo
- Local disk information
Note: this field may return null, indicating that no valid values can be obtained.public Long getDiskCount()
public void setDiskCount(Long DiskCount)
DiskCount
- Number of node diskspublic Long getDiskEncrypt()
public void setDiskEncrypt(Long DiskEncrypt)
DiskEncrypt
- Whether to encrypt node disk. 0: no (default); 1: yes.Copyright © 2020. All rights reserved.