public class CreateInstanceRequest extends AbstractModel
Constructor and Description |
---|
CreateInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenew()
Get Whether auto-renewal is enabled.
|
Long |
getCbsEncrypt()
Get CBS disk encryption at the cluster level.
|
Long |
getCheckSecurity()
Get Whether to enable secure cluster.
|
String |
getClientToken()
Get Client token.
|
COSSettings |
getCOSSettings()
Get Parameter required for enabling COS access.
|
String[] |
getDisasterRecoverGroupIds()
Get List of spread placement group IDs.
|
String |
getExtendFsField()
Get Accesses to external file system.
|
String |
getInstanceName()
Get Instance name.
|
LoginSettings |
getLoginSettings()
Get Instance login settings.
|
CustomMetaInfo |
getMetaDBInfo()
Get Custom MetaDB instance information
|
String |
getMetaType()
Get Hive-shared metadatabase type.
|
String |
getNeedMasterWan()
Get Whether to enable public IP access for master node.
|
Long |
getPayMode()
Get Instance billing mode.
|
Placement |
getPlacement()
Get Instance location.
|
PreExecuteFileSettings[] |
getPreExecutedFileSettings()
Get Bootstrap script settings.
|
Long |
getProductId()
Get Product ID.
|
Long |
getRemoteLoginAtCreate()
Get Whether to enable remote public network login, i.e., port 22.
|
NewResourceSpec |
getResourceSpec()
Get Node resource specification.
|
String |
getSgId()
Get Security group to which an instance belongs in the format of `sg-xxxxxxxx`.
|
String[] |
getSoftware()
Get List of deployed components.
|
Long |
getSupportHA()
Get Whether to enable high node availability.
|
Tag[] |
getTags()
Get Tag description list.
|
Long |
getTimeSpan()
Get Purchase duration of instance, which needs to be used together with `TimeUnit`.
|
String |
getTimeUnit()
Get Time unit of instance purchase duration.
|
String |
getUnifyMetaInstanceId()
Get EMR-MetaDB instance
|
VPCSettings |
getVPCSettings()
Get Configuration information of VPC.
|
void |
setAutoRenew(Long AutoRenew)
Set Whether auto-renewal is enabled.
|
void |
setCbsEncrypt(Long CbsEncrypt)
Set CBS disk encryption at the cluster level.
|
void |
setCheckSecurity(Long CheckSecurity)
Set Whether to enable secure cluster.
|
void |
setClientToken(String ClientToken)
Set Client token.
|
void |
setCOSSettings(COSSettings COSSettings)
Set Parameter required for enabling COS access.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set List of spread placement group IDs.
|
void |
setExtendFsField(String ExtendFsField)
Set Accesses to external file system.
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set Instance login settings.
|
void |
setMetaDBInfo(CustomMetaInfo MetaDBInfo)
Set Custom MetaDB instance information
|
void |
setMetaType(String MetaType)
Set Hive-shared metadatabase type.
|
void |
setNeedMasterWan(String NeedMasterWan)
Set Whether to enable public IP access for master node.
|
void |
setPayMode(Long PayMode)
Set Instance billing mode.
|
void |
setPlacement(Placement Placement)
Set Instance location.
|
void |
setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
Set Bootstrap script settings.
|
void |
setProductId(Long ProductId)
Set Product ID.
|
void |
setRemoteLoginAtCreate(Long RemoteLoginAtCreate)
Set Whether to enable remote public network login, i.e., port 22.
|
void |
setResourceSpec(NewResourceSpec ResourceSpec)
Set Node resource specification.
|
void |
setSgId(String SgId)
Set Security group to which an instance belongs in the format of `sg-xxxxxxxx`.
|
void |
setSoftware(String[] Software)
Set List of deployed components.
|
void |
setSupportHA(Long SupportHA)
Set Whether to enable high node availability.
|
void |
setTags(Tag[] Tags)
Set Tag description list.
|
void |
setTimeSpan(Long TimeSpan)
Set Purchase duration of instance, which needs to be used together with `TimeUnit`.
|
void |
setTimeUnit(String TimeUnit)
Set Time unit of instance purchase duration.
|
void |
setUnifyMetaInstanceId(String UnifyMetaInstanceId)
Set EMR-MetaDB instance
|
void |
setVPCSettings(VPCSettings VPCSettings)
Set Configuration information of VPC.
|
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 getProductId()
public void setProductId(Long ProductId)
ProductId
- Product ID. Different product IDs represent different EMR product versions. Valid values:
public VPCSettings getVPCSettings()
public void setVPCSettings(VPCSettings VPCSettings)
VPCSettings
- Configuration information of VPC. This parameter is used to specify the VPC ID, subnet ID, etc.public String[] getSoftware()
public void setSoftware(String[] Software)
Software
- List of deployed components. Different required components need to be selected for different EMR product IDs (i.e., `ProductId`; for specific meanings, please see the `ProductId` field in the input parameter):
public NewResourceSpec getResourceSpec()
public void setResourceSpec(NewResourceSpec ResourceSpec)
ResourceSpec
- Node resource specification.public Long getSupportHA()
public void setSupportHA(Long SupportHA)
SupportHA
- Whether to enable high node availability. Valid values:
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name.
public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- Instance billing mode. Valid values:
public Placement getPlacement()
public void setPlacement(Placement Placement)
Placement
- Instance location. This parameter is used to specify the AZ, project, and other attributes of the instance.public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- Purchase duration of instance, which needs to be used together with `TimeUnit`.
public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Time unit of instance purchase duration. Valid values:
public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- Instance login settings. This parameter allows you to set the login password or key for your purchased node.
public COSSettings getCOSSettings()
public void setCOSSettings(COSSettings COSSettings)
COSSettings
- Parameter required for enabling COS access.public String getSgId()
public void setSgId(String SgId)
SgId
- Security group to which an instance belongs in the format of `sg-xxxxxxxx`. This parameter can be obtained from the `SecurityGroupId` field in the return value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) API.public PreExecuteFileSettings[] getPreExecutedFileSettings()
public void setPreExecutedFileSettings(PreExecuteFileSettings[] PreExecutedFileSettings)
PreExecutedFileSettings
- Bootstrap script settings.public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- Whether auto-renewal is enabled. Valid values:
public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- Client token.public String getNeedMasterWan()
public void setNeedMasterWan(String NeedMasterWan)
NeedMasterWan
- Whether to enable public IP access for master node. Valid values:
public Long getRemoteLoginAtCreate()
public void setRemoteLoginAtCreate(Long RemoteLoginAtCreate)
RemoteLoginAtCreate
- Whether to enable remote public network login, i.e., port 22. When `SgId` is not empty, this parameter does not take effect.public Long getCheckSecurity()
public void setCheckSecurity(Long CheckSecurity)
CheckSecurity
- Whether to enable secure cluster. 0: no; other values: yes.public String getExtendFsField()
public void setExtendFsField(String ExtendFsField)
ExtendFsField
- Accesses to external file system.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag description list. This parameter is used to bind a tag to a resource instance.public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- List of spread placement group IDs. Only one can be specified currently.public Long getCbsEncrypt()
public void setCbsEncrypt(Long CbsEncrypt)
CbsEncrypt
- CBS disk encryption at the cluster level. 0: not encrypted, 1: encryptedpublic String getMetaType()
public void setMetaType(String MetaType)
MetaType
- Hive-shared metadatabase type. Valid values:
public String getUnifyMetaInstanceId()
public void setUnifyMetaInstanceId(String UnifyMetaInstanceId)
UnifyMetaInstanceId
- EMR-MetaDB instancepublic CustomMetaInfo getMetaDBInfo()
public void setMetaDBInfo(CustomMetaInfo MetaDBInfo)
MetaDBInfo
- Custom MetaDB instance informationCopyright © 2020. All rights reserved.