public class CreateInstanceRequest extends AbstractModel
Constructor and Description |
---|
CreateInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoVoucher()
Get Whether to automatically use vouchers 0: No 1: Yes Default value: 0
|
Long |
getBasicSecurityType()
Get
|
Long |
getChargePeriod()
Get This parameter is not used on the global website
|
String |
getChargeType()
Get Billing mode POSTPAID_BY_HOUR: Pay-as-you-go hourly Default value: POSTPAID_BY_HOUR
|
String |
getClusterNameInConf()
Get ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
|
Long |
getDeployMode()
Get Cluster deployment mode 0: single-AZ deployment 1: multi-AZ deployment Default value: 0
|
Long |
getDiskSize()
Get Node disk size in GB
|
String |
getDiskType()
Get Node disk type CLOUD_SSD: SSD cloud disk CLOUD_PREMIUM: Premium cloud disk Default value: CLOUD_SSD
|
Boolean |
getEnableDedicatedMaster()
Get Whether to create a dedicated master node true: Yes false: No Default value: false
|
String |
getEsVersion()
Get Instance version ("5.6.4" or "6.4.3")
|
String |
getInstanceName()
Get Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
|
String |
getLicenseType()
Get License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum
|
Long |
getMasterNodeDiskSize()
Get Dedicated master node disk size in GB, which is optional.
|
Long |
getMasterNodeNum()
Get Number of dedicated master nodes (only 3 and 5 are supported.
|
String |
getMasterNodeType()
Get Dedicated master node type, which must be passed in if `EnableDedicatedMaster` is true ES.S1.SMALL2: 1-core 2 GBES.S1.MEDIUM4: 2-core 4 GBES.S1.MEDIUM8: 2-core 8 GBES.S1.LARGE16: 4-core 16 GBES.S1.2XLARGE32: 8-core 32 GBES.S1.4XLARGE32: 16-core 32 GBES.S1.4XLARGE64: 16-core 64 GB
|
ZoneDetail[] |
getMultiZoneInfo()
Get Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
|
NodeInfo[] |
getNodeInfoList()
Get
|
Long |
getNodeNum()
Get Number of nodes (2-50)
|
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 |
getPassword()
Get Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
|
String |
getRenewFlag()
Get This parameter is not used on the global website
|
String |
getSubnetId()
Get Subnet ID
|
TagInfo[] |
getTagList()
Get
|
String |
getTimeUnit()
Get This parameter is not used on the global website
|
String[] |
getVoucherIds()
Get List of voucher IDs (only one voucher can be specified at a time currently)
|
String |
getVpcId()
Get VPC ID
|
String |
getZone()
Get Availability Zone
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically use vouchers 0: No 1: Yes Default value: 0
|
void |
setBasicSecurityType(Long BasicSecurityType)
Set
|
void |
setChargePeriod(Long ChargePeriod)
Set This parameter is not used on the global website
|
void |
setChargeType(String ChargeType)
Set Billing mode POSTPAID_BY_HOUR: Pay-as-you-go hourly Default value: POSTPAID_BY_HOUR
|
void |
setClusterNameInConf(String ClusterNameInConf)
Set ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customized
|
void |
setDeployMode(Long DeployMode)
Set Cluster deployment mode 0: single-AZ deployment 1: multi-AZ deployment Default value: 0
|
void |
setDiskSize(Long DiskSize)
Set Node disk size in GB
|
void |
setDiskType(String DiskType)
Set Node disk type CLOUD_SSD: SSD cloud disk CLOUD_PREMIUM: Premium cloud disk Default value: CLOUD_SSD
|
void |
setEnableDedicatedMaster(Boolean EnableDedicatedMaster)
Set Whether to create a dedicated master node true: Yes false: No Default value: false
|
void |
setEsVersion(String EsVersion)
Set Instance version ("5.6.4" or "6.4.3")
|
void |
setInstanceName(String InstanceName)
Set Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)
|
void |
setLicenseType(String LicenseType)
Set License type oss: Open Source Edition basic: Basic Edition platinum: Platinum Edition Default value: Platinum
|
void |
setMasterNodeDiskSize(Long MasterNodeDiskSize)
Set Dedicated master node disk size in GB, which is optional.
|
void |
setMasterNodeNum(Long MasterNodeNum)
Set Number of dedicated master nodes (only 3 and 5 are supported.
|
void |
setMasterNodeType(String MasterNodeType)
Set Dedicated master node type, which must be passed in if `EnableDedicatedMaster` is true ES.S1.SMALL2: 1-core 2 GBES.S1.MEDIUM4: 2-core 4 GBES.S1.MEDIUM8: 2-core 8 GBES.S1.LARGE16: 4-core 16 GBES.S1.2XLARGE32: 8-core 32 GBES.S1.4XLARGE32: 16-core 32 GBES.S1.4XLARGE64: 16-core 64 GB
|
void |
setMultiZoneInfo(ZoneDetail[] MultiZoneInfo)
Set Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)
|
void |
setNodeInfoList(NodeInfo[] NodeInfoList)
Set
|
void |
setNodeNum(Long NodeNum)
Set Number of nodes (2-50)
|
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 |
setPassword(String Password)
Set Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]
|
void |
setRenewFlag(String RenewFlag)
Set This parameter is not used on the global website
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setTagList(TagInfo[] TagList)
Set
|
void |
setTimeUnit(String TimeUnit)
Set This parameter is not used on the global website
|
void |
setVoucherIds(String[] VoucherIds)
Set List of voucher IDs (only one voucher can be specified at a time currently)
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setZone(String Zone)
Set Availability Zone
|
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 String getZone()
public void setZone(String Zone)
Zone
- Availability Zonepublic String getEsVersion()
public void setEsVersion(String EsVersion)
EsVersion
- Instance version ("5.6.4" or "6.4.3")public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic String getPassword()
public void setPassword(String Password)
Password
- Access password, which must contain 8 to 16 characters, and include at least two of the following three types of characters: [a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?]public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name, which can contain 1 to 50 English letters, Chinese characters, digits, dashes (-), or underscores (_)public Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- Number of nodes (2-50)public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType
- Billing mode public Long getChargePeriod()
public void setChargePeriod(Long ChargePeriod)
ChargePeriod
- This parameter is not used on the global websitepublic String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- This parameter is not used on the global websitepublic String getNodeType()
public void setNodeType(String NodeType)
NodeType
- Node specification 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 String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- This parameter is not used on the global websitepublic Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically use vouchers public String[] getVoucherIds()
public void setVoucherIds(String[] VoucherIds)
VoucherIds
- List of voucher IDs (only one voucher can be specified at a time currently)public Boolean getEnableDedicatedMaster()
public void setEnableDedicatedMaster(Boolean EnableDedicatedMaster)
EnableDedicatedMaster
- Whether to create a dedicated master node public Long getMasterNodeNum()
public void setMasterNodeNum(Long MasterNodeNum)
MasterNodeNum
- Number of dedicated master nodes (only 3 and 5 are supported. This value must be passed in if `EnableDedicatedMaster` is true)public String getMasterNodeType()
public void setMasterNodeType(String MasterNodeType)
MasterNodeType
- Dedicated master node type, which must be passed in if `EnableDedicatedMaster` is true public Long getMasterNodeDiskSize()
public void setMasterNodeDiskSize(Long MasterNodeDiskSize)
MasterNodeDiskSize
- Dedicated master node disk size in GB, which is optional. If passed in, it can only be 50 and cannot be customized currentlypublic String getClusterNameInConf()
public void setClusterNameInConf(String ClusterNameInConf)
ClusterNameInConf
- ClusterName in the cluster configuration file, which is the instance ID by default and currently cannot be customizedpublic Long getDeployMode()
public void setDeployMode(Long DeployMode)
DeployMode
- Cluster deployment mode public ZoneDetail[] getMultiZoneInfo()
public void setMultiZoneInfo(ZoneDetail[] MultiZoneInfo)
MultiZoneInfo
- Details of AZs in multi-AZ deployment mode (which is required when DeployMode is 1)public String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType
- License type public NodeInfo[] getNodeInfoList()
public void setNodeInfoList(NodeInfo[] NodeInfoList)
NodeInfoList
- public TagInfo[] getTagList()
public void setTagList(TagInfo[] TagList)
TagList
- public Long getBasicSecurityType()
public void setBasicSecurityType(Long BasicSecurityType)
BasicSecurityType
- Copyright © 2020. All rights reserved.