public class CreateSLInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateSLInstanceRequest() |
CreateSLInstanceRequest(CreateSLInstanceRequest 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 |
---|---|
String |
getClientToken()
Get The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly.
|
Long |
getDiskSize()
Get The disk capacity of a single node of the instance, in GB.
|
String |
getDiskType()
Get Instance storage type.
|
String |
getInstanceName()
Get Instance name.
|
String |
getNodeType()
Get Instance node specification.
|
Long |
getPayMode()
Get Instance billing mode.
|
PrePaySetting |
getPrePaySetting()
Get Prepaid parameter.
|
Tag[] |
getTags()
Get List of tags to be bound to the instance.
|
ZoneSetting[] |
getZoneSettings()
Get Detailed configuration of the instance AZ.
|
void |
setClientToken(String ClientToken)
Set The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly.
|
void |
setDiskSize(Long DiskSize)
Set The disk capacity of a single node of the instance, in GB.
|
void |
setDiskType(String DiskType)
Set Instance storage type.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setNodeType(String NodeType)
Set Instance node specification.
|
void |
setPayMode(Long PayMode)
Set Instance billing mode.
|
void |
setPrePaySetting(PrePaySetting PrePaySetting)
Set Prepaid parameter.
|
void |
setTags(Tag[] Tags)
Set List of tags to be bound to the instance.
|
void |
setZoneSettings(ZoneSetting[] ZoneSettings)
Set Detailed configuration of the instance AZ.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateSLInstanceRequest()
public CreateSLInstanceRequest(CreateSLInstanceRequest source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Instance billing mode. 0 indicates postpaid, i.e., pay-as-you-go.public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Instance storage type. Fill in CLOUD_HSSD to represent high-performance cloud storage.public Long getDiskSize()
public void setDiskSize(Long DiskSize)
DiskSize
- The disk capacity of a single node of the instance, in GB. The disk capacity of a single node should be greater than or equal to 100 and less than or equal to 250 x the number of CPU cores. The capacity adjustment step is 100.public String getNodeType()
public void setNodeType(String NodeType)
NodeType
- Instance node specification. You can fill in 4C16G, 8C32G, 16C64G, or 32C128G, which is case-insensitive.public ZoneSetting[] getZoneSettings()
public void setZoneSettings(ZoneSetting[] ZoneSettings)
ZoneSettings
- Detailed configuration of the instance AZ. Currently, multiple availability zones are supported. The number of AZs must be 1 or 3, including the region names, VPC information, and number of nodes. The total number of nodes across all zones must be greater than or equal to 3 and less than or equal to 50.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of tags to be bound to the instance.public PrePaySetting getPrePaySetting()
public void setPrePaySetting(PrePaySetting PrePaySetting)
PrePaySetting
- Prepaid parameter.public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6-****-****-****-fae360632808.Copyright © 2025. All rights reserved.