public class CreateClusterRequest extends AbstractModel
Constructor and Description |
---|
CreateClusterRequest() |
CreateClusterRequest(CreateClusterRequest 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 A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources.
|
String |
getCustomConf()
Get [Custom software configuration](https://intl.cloud.tencent.com/document/product/589/35655?from_cn_redirect=1?from_cn_redirect=1)
|
DependService[] |
getDependService()
Get The shared component information.
|
String[] |
getDisasterRecoverGroupIds()
Get The list of spread placement group IDs.
|
Boolean |
getEnableCbsEncryptFlag()
Get Whether to enable the cluster-level CBS encryption.
|
Boolean |
getEnableKerberosFlag()
Get Whether to enable Kerberos authentication.
|
Boolean |
getEnableRemoteLoginFlag()
Get Whether to enable remote login over the public network.
|
Boolean |
getEnableSupportHAFlag()
Get Whether to enable high availability for nodes.
|
InstanceChargePrepaid |
getInstanceChargePrepaid()
Get The details of the monthly subscription, including the instance period and auto-renewal.
|
String |
getInstanceChargeType()
Get The instance billing mode.
|
String |
getInstanceName()
Get The instance name.
|
LoginSettings |
getLoginSettings()
Get The instance login setting.
|
CustomMetaDBInfo |
getMetaDBInfo()
Get The metadatabase information.
|
String |
getNeedMasterWan()
Get Whether to enable public IP access for master nodes.
|
String |
getProductVersion()
Get The EMR version, such as `EMR-V2.3.0` that indicates the version 2.3.0 of EMR.
|
SceneSoftwareConfig |
getSceneSoftwareConfig()
Get The configuration of cluster application scenario and supported components.
|
ScriptBootstrapActionConfig[] |
getScriptBootstrapActionConfig()
Get The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.
|
String[] |
getSecurityGroupIds()
Get The ID of the security group to which the instance belongs, in the format of `sg-xxxxxxxx`.
|
Tag[] |
getTags()
Get The tag description list.
|
ZoneResourceConfiguration[] |
getZoneResourceConfiguration()
Get The node resource specs.
|
void |
setClientToken(String ClientToken)
Set A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources.
|
void |
setCustomConf(String CustomConf)
Set [Custom software configuration](https://intl.cloud.tencent.com/document/product/589/35655?from_cn_redirect=1?from_cn_redirect=1)
|
void |
setDependService(DependService[] DependService)
Set The shared component information.
|
void |
setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
Set The list of spread placement group IDs.
|
void |
setEnableCbsEncryptFlag(Boolean EnableCbsEncryptFlag)
Set Whether to enable the cluster-level CBS encryption.
|
void |
setEnableKerberosFlag(Boolean EnableKerberosFlag)
Set Whether to enable Kerberos authentication.
|
void |
setEnableRemoteLoginFlag(Boolean EnableRemoteLoginFlag)
Set Whether to enable remote login over the public network.
|
void |
setEnableSupportHAFlag(Boolean EnableSupportHAFlag)
Set Whether to enable high availability for nodes.
|
void |
setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
Set The details of the monthly subscription, including the instance period and auto-renewal.
|
void |
setInstanceChargeType(String InstanceChargeType)
Set The instance billing mode.
|
void |
setInstanceName(String InstanceName)
Set The instance name.
|
void |
setLoginSettings(LoginSettings LoginSettings)
Set The instance login setting.
|
void |
setMetaDBInfo(CustomMetaDBInfo MetaDBInfo)
Set The metadatabase information.
|
void |
setNeedMasterWan(String NeedMasterWan)
Set Whether to enable public IP access for master nodes.
|
void |
setProductVersion(String ProductVersion)
Set The EMR version, such as `EMR-V2.3.0` that indicates the version 2.3.0 of EMR.
|
void |
setSceneSoftwareConfig(SceneSoftwareConfig SceneSoftwareConfig)
Set The configuration of cluster application scenario and supported components.
|
void |
setScriptBootstrapActionConfig(ScriptBootstrapActionConfig[] ScriptBootstrapActionConfig)
Set The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set The ID of the security group to which the instance belongs, in the format of `sg-xxxxxxxx`.
|
void |
setTags(Tag[] Tags)
Set The tag description list.
|
void |
setZoneResourceConfiguration(ZoneResourceConfiguration[] ZoneResourceConfiguration)
Set The node resource specs.
|
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 CreateClusterRequest()
public CreateClusterRequest(CreateClusterRequest source)
public String getProductVersion()
public void setProductVersion(String ProductVersion)
ProductVersion
- The EMR version, such as `EMR-V2.3.0` that indicates the version 2.3.0 of EMR. You can query the EMR version [here](https://intl.cloud.tencent.com/document/product/589/66338?from_cn_redirect=1).public Boolean getEnableSupportHAFlag()
public void setEnableSupportHAFlag(Boolean EnableSupportHAFlag)
EnableSupportHAFlag
- Whether to enable high availability for nodes. Valid values:
public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- The instance name.
public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType
- The instance billing mode. Valid values:
public LoginSettings getLoginSettings()
public void setLoginSettings(LoginSettings LoginSettings)
LoginSettings
- The instance login setting. This parameter allows you to set a login password or key for your purchased node.
public SceneSoftwareConfig getSceneSoftwareConfig()
public void setSceneSoftwareConfig(SceneSoftwareConfig SceneSoftwareConfig)
SceneSoftwareConfig
- The configuration of cluster application scenario and supported components.public InstanceChargePrepaid getInstanceChargePrepaid()
public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid)
InstanceChargePrepaid
- The details of the monthly subscription, including the instance period and auto-renewal. It is required if `InstanceChargeType` is `PREPAID`.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- The ID of the security group to which the instance belongs, in the format of `sg-xxxxxxxx`. You can call the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API and obtain this parameter from the `SecurityGroupId` field in the response.public ScriptBootstrapActionConfig[] getScriptBootstrapActionConfig()
public void setScriptBootstrapActionConfig(ScriptBootstrapActionConfig[] ScriptBootstrapActionConfig)
ScriptBootstrapActionConfig
- The [Bootstrap action](https://intl.cloud.tencent.com/document/product/589/35656?from_cn_redirect=1) script settings.public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A unique random token, which is valid for 5 minutes and needs to be specified by the caller to prevent the client from repeatedly creating resources. An example value is `a9a90aa6-751a-41b6-aad6-fae360632808`.public String getNeedMasterWan()
public void setNeedMasterWan(String NeedMasterWan)
NeedMasterWan
- Whether to enable public IP access for master nodes. Valid values:
public Boolean getEnableRemoteLoginFlag()
public void setEnableRemoteLoginFlag(Boolean EnableRemoteLoginFlag)
EnableRemoteLoginFlag
- Whether to enable remote login over the public network. It is invalid if `SecurityGroupId` is passed in. It is disabled by default. Valid values:
public Boolean getEnableKerberosFlag()
public void setEnableKerberosFlag(Boolean EnableKerberosFlag)
EnableKerberosFlag
- Whether to enable Kerberos authentication. Valid values:
public String getCustomConf()
public void setCustomConf(String CustomConf)
CustomConf
- [Custom software configuration](https://intl.cloud.tencent.com/document/product/589/35655?from_cn_redirect=1?from_cn_redirect=1)public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- The tag description list. This parameter is used to bind a tag to a resource instance.public String[] getDisasterRecoverGroupIds()
public void setDisasterRecoverGroupIds(String[] DisasterRecoverGroupIds)
DisasterRecoverGroupIds
- The list of spread placement group IDs. Only one can be specified.
You can call the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/product/213/17810?from_cn_redirect=1) API and obtain this parameter from the `DisasterRecoverGroupId` field in the response.public Boolean getEnableCbsEncryptFlag()
public void setEnableCbsEncryptFlag(Boolean EnableCbsEncryptFlag)
EnableCbsEncryptFlag
- Whether to enable the cluster-level CBS encryption. Valid values:
public CustomMetaDBInfo getMetaDBInfo()
public void setMetaDBInfo(CustomMetaDBInfo MetaDBInfo)
MetaDBInfo
- The metadatabase information. If `MetaType` is `EMR_NEW_META`, `MetaDataJdbcUrl`, `MetaDataUser`, `MetaDataPass`, and `UnifyMetaInstanceId` are not required.
If `MetaType` is `EMR_EXIT_META`, `UnifyMetaInstanceId` is required.
If `MetaType` is `USER_CUSTOM_META`, `MetaDataJdbcUrl`, `MetaDataUser`, and `MetaDataPass` are required.public DependService[] getDependService()
public void setDependService(DependService[] DependService)
DependService
- The shared component information.public ZoneResourceConfiguration[] getZoneResourceConfiguration()
public void setZoneResourceConfiguration(ZoneResourceConfiguration[] ZoneResourceConfiguration)
ZoneResourceConfiguration
- The node resource specs. A spec is specified for each AZ, with the first spec for the primary AZ, the second for the backup AZ, and the third for the arbitrator AZ. If the multi-AZ mode is not enabled, only one spec is required.Copyright © 2023. All rights reserved.