public class CreateInstancePostRequest extends AbstractModel
Constructor and Description |
---|
CreateInstancePostRequest() |
CreateInstancePostRequest(CreateInstancePostRequest 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 |
getBandWidth()
Get Instance bandwidth
|
Long |
getClusterId()
Get Cluster ID, which can be selected when you create an instance.
|
String |
getInstanceName()
Get Instance name, which is a string of up to 64 characters.
|
Long |
getMsgRetentionTime()
Get The maximum retention period for instance logs in minutes.
|
String |
getSubnetId()
Get Subnet ID, which is required for a VPC but not for the classic network.
|
String |
getVpcId()
Get VPC ID.
|
Long |
getZoneId()
Get AZ
|
void |
setBandWidth(Long BandWidth)
Set Instance bandwidth
|
void |
setClusterId(Long ClusterId)
Set Cluster ID, which can be selected when you create an instance.
|
void |
setInstanceName(String InstanceName)
Set Instance name, which is a string of up to 64 characters.
|
void |
setMsgRetentionTime(Long MsgRetentionTime)
Set The maximum retention period for instance logs in minutes.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID, which is required for a VPC but not for the classic network.
|
void |
setVpcId(String VpcId)
Set VPC ID.
|
void |
setZoneId(Long ZoneId)
Set AZ
|
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 CreateInstancePostRequest()
public CreateInstancePostRequest(CreateInstancePostRequest source)
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name, which is a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.public Long getBandWidth()
public void setBandWidth(Long BandWidth)
BandWidth
- Instance bandwidthpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC ID. If this parameter is left empty, the classic network will be used by default.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID, which is required for a VPC but not for the classic network.public Long getMsgRetentionTime()
public void setMsgRetentionTime(Long MsgRetentionTime)
MsgRetentionTime
- The maximum retention period for instance logs in minutes. Default value: 1,440 minutes (1 day). Max value: 12960 minutes (90 days). This parameter is optional.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- AZpublic Long getClusterId()
public void setClusterId(Long ClusterId)
ClusterId
- Cluster ID, which can be selected when you create an instance.Copyright © 2023. All rights reserved.