public class CreateInstanceNewRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateInstanceNewRequest() |
CreateInstanceNewRequest(CreateInstanceNewRequest 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 |
---|---|
CreateInstanceSpec |
getBeSpec()
Get BE specifications.
|
Long |
getCaseSensitive()
Get Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
|
ChargeProperties |
getChargeProperties()
Get Payment type
|
String |
getDorisUserPwd()
Get Database password
|
Boolean |
getEnableMultiZones()
Get Whether to enable multi-availability zone.
|
CreateInstanceSpec |
getFeSpec()
Get FE specifications
|
Boolean |
getHaFlag()
Get Whether it is highly available.
|
Long |
getHaType()
Get High availability type:
0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1),
1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number),
2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
|
String |
getInstanceName()
Get Instance name
|
String |
getProductVersion()
Get Product version number
|
Tag[] |
getTags()
Get Tag list
|
NetworkInfo |
getUserMultiZoneInfos()
Get After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
|
String |
getUserSubnetId()
Get User subnet ID
|
String |
getUserVPCId()
Get User VPCID
|
String |
getZone()
Get Availability zone
|
void |
setBeSpec(CreateInstanceSpec BeSpec)
Set BE specifications.
|
void |
setCaseSensitive(Long CaseSensitive)
Set Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
|
void |
setChargeProperties(ChargeProperties ChargeProperties)
Set Payment type
|
void |
setDorisUserPwd(String DorisUserPwd)
Set Database password
|
void |
setEnableMultiZones(Boolean EnableMultiZones)
Set Whether to enable multi-availability zone.
|
void |
setFeSpec(CreateInstanceSpec FeSpec)
Set FE specifications
|
void |
setHaFlag(Boolean HaFlag)
Set Whether it is highly available.
|
void |
setHaType(Long HaType)
Set High availability type:
0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1),
1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number),
2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
|
void |
setInstanceName(String InstanceName)
Set Instance name
|
void |
setProductVersion(String ProductVersion)
Set Product version number
|
void |
setTags(Tag[] Tags)
Set Tag list
|
void |
setUserMultiZoneInfos(NetworkInfo UserMultiZoneInfos)
Set After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
|
void |
setUserSubnetId(String UserSubnetId)
Set User subnet ID
|
void |
setUserVPCId(String UserVPCId)
Set User VPCID
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateInstanceNewRequest()
public CreateInstanceNewRequest(CreateInstanceNewRequest source)
public String getZone()
public void setZone(String Zone)
Zone
- Availability zonepublic CreateInstanceSpec getFeSpec()
public void setFeSpec(CreateInstanceSpec FeSpec)
FeSpec
- FE specificationspublic CreateInstanceSpec getBeSpec()
public void setBeSpec(CreateInstanceSpec BeSpec)
BeSpec
- BE specifications.public Boolean getHaFlag()
public void setHaFlag(Boolean HaFlag)
HaFlag
- Whether it is highly available.public String getUserVPCId()
public void setUserVPCId(String UserVPCId)
UserVPCId
- User VPCIDpublic String getUserSubnetId()
public void setUserSubnetId(String UserSubnetId)
UserSubnetId
- User subnet IDpublic String getProductVersion()
public void setProductVersion(String ProductVersion)
ProductVersion
- Product version numberpublic ChargeProperties getChargeProperties()
public void setChargeProperties(ChargeProperties ChargeProperties)
ChargeProperties
- Payment typepublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance namepublic String getDorisUserPwd()
public void setDorisUserPwd(String DorisUserPwd)
DorisUserPwd
- Database passwordpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag listpublic Long getHaType()
public void setHaType(Long HaType)
HaType
- High availability type:
0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1),
1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number),
2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).public Long getCaseSensitive()
public void setCaseSensitive(Long CaseSensitive)
CaseSensitive
- Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.public Boolean getEnableMultiZones()
public void setEnableMultiZones(Boolean EnableMultiZones)
EnableMultiZones
- Whether to enable multi-availability zone.public NetworkInfo getUserMultiZoneInfos()
public void setUserMultiZoneInfos(NetworkInfo UserMultiZoneInfos)
UserMultiZoneInfos
- After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.Copyright © 2024. All rights reserved.