All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.emr.v20190103.models.CreateInstanceRequest Maven / Gradle / Ivy

There is a newer version: 3.1.1105
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.emr.v20190103.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class CreateInstanceRequest extends AbstractModel{

    /**
    * 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:
  • 16:表示EMR-V2.3.0。
  • 20:表示EMR-V2.5.0。
  • 25:表示EMR-V3.1.0。
  • 27:表示KAFKA-V1.0.0。
  • 30:表示EMR-V2.6.0。
  • 33 : 表示EMR-V3.2.1。
  • 34 : 表示EMR-V3.3.0。
  • 36 : 表示STARROCKS-V1.0.0。
  • 37 : 表示EMR-V3.4.0。
  • 38 : 表示EMR-V2.7.0。
  • 39 : 表示STARROCKS-V1.1.0。
  • 41 : 表示DRUID-V1.1.0。
  • */ @SerializedName("ProductId") @Expose private Long ProductId; /** * 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ; 填写实例值:hive、flink。 */ @SerializedName("Software") @Expose private String [] Software; /** * 是否开启节点高可用。取值范围:
  • 0:表示不开启节点高可用。
  • 1:表示开启节点高可用。
  • */ @SerializedName("SupportHA") @Expose private Long SupportHA; /** * 实例名称。
  • 长度限制为6-36个字符。
  • 只允许包含中文、字母、数字、-、_。
  • */ @SerializedName("InstanceName") @Expose private String InstanceName; /** * 实例计费模式。取值范围:
  • 0:表示按量计费。
  • 1:表示包年包月。
  • */ @SerializedName("PayMode") @Expose private Long PayMode; /** * 购买实例的时长。结合TimeUnit一起使用。
  • TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
  • TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
  • */ @SerializedName("TimeSpan") @Expose private Long TimeSpan; /** * 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • */ @SerializedName("TimeUnit") @Expose private String TimeUnit; /** * 实例登录设置。通过该参数可以设置所购买节点的登录方式密码或者密钥。
  • 设置密钥时,密码仅用于组件原生WebUI快捷入口登录。
  • 未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。
  • */ @SerializedName("LoginSettings") @Expose private LoginSettings LoginSettings; /** * 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。 */ @SerializedName("VPCSettings") @Expose private VPCSettings VPCSettings; /** * 节点资源的规格。 */ @SerializedName("ResourceSpec") @Expose private NewResourceSpec ResourceSpec; /** * 开启COS访问需要设置的参数。 */ @SerializedName("COSSettings") @Expose private COSSettings COSSettings; /** * 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 */ @SerializedName("Placement") @Expose private Placement Placement; /** * 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。 */ @SerializedName("SgId") @Expose private String SgId; /** * [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。 */ @SerializedName("PreExecutedFileSettings") @Expose private PreExecuteFileSettings [] PreExecutedFileSettings; /** * 包年包月实例是否自动续费。取值范围:
  • 0:表示不自动续费。
  • 1:表示自动续费。
  • */ @SerializedName("AutoRenew") @Expose private Long AutoRenew; /** * 客户端Token。 */ @SerializedName("ClientToken") @Expose private String ClientToken; /** * 是否开启集群Master节点公网。取值范围:
  • NEED_MASTER_WAN:表示开启集群Master节点公网。
  • NOT_NEED_MASTER_WAN:表示不开启。
  • 默认开启集群Master节点公网。 */ @SerializedName("NeedMasterWan") @Expose private String NeedMasterWan; /** * 是否需要开启外网远程登录,即22号端口。在SgId不为空时,该参数无效。 */ @SerializedName("RemoteLoginAtCreate") @Expose private Long RemoteLoginAtCreate; /** * 是否开启安全集群。0表示不开启,非0表示开启。 */ @SerializedName("CheckSecurity") @Expose private Long CheckSecurity; /** * 访问外部文件系统。 */ @SerializedName("ExtendFsField") @Expose private String ExtendFsField; /** * 标签描述列表。通过指定该参数可以同时绑定标签到相应的实例。 */ @SerializedName("Tags") @Expose private Tag [] Tags; /** * 分散置放群组ID列表,当前只支持指定一个。 该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/213/15486 ) 的返回值中的SecurityGroupId字段来获取。 */ @SerializedName("DisasterRecoverGroupIds") @Expose private String [] DisasterRecoverGroupIds; /** * 集群维度CBS加密盘,默认0表示不加密,1表示加密 */ @SerializedName("CbsEncrypt") @Expose private Long CbsEncrypt; /** * hive共享元数据库类型。取值范围:
  • EMR_NEW_META:表示集群默认创建
  • EMR_EXIT_META:表示集群使用指定EMR-MetaDB。
  • USER_CUSTOM_META:表示集群使用自定义MetaDB。
  • */ @SerializedName("MetaType") @Expose private String MetaType; /** * EMR-MetaDB实例 */ @SerializedName("UnifyMetaInstanceId") @Expose private String UnifyMetaInstanceId; /** * 自定义MetaDB信息 */ @SerializedName("MetaDBInfo") @Expose private CustomMetaInfo MetaDBInfo; /** * 自定义应用角色。 */ @SerializedName("ApplicationRole") @Expose private String ApplicationRole; /** * 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase */ @SerializedName("SceneName") @Expose private String SceneName; /** * 共享组件信息 */ @SerializedName("ExternalService") @Expose private ExternalService [] ExternalService; /** * 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。 */ @SerializedName("VersionID") @Expose private Long VersionID; /** * true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。 */ @SerializedName("MultiZone") @Expose private Boolean MultiZone; /** * 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。 */ @SerializedName("MultiZoneSettings") @Expose private MultiZoneSetting [] MultiZoneSettings; /** * Get 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:
  • 16:表示EMR-V2.3.0。
  • 20:表示EMR-V2.5.0。
  • 25:表示EMR-V3.1.0。
  • 27:表示KAFKA-V1.0.0。
  • 30:表示EMR-V2.6.0。
  • 33 : 表示EMR-V3.2.1。
  • 34 : 表示EMR-V3.3.0。
  • 36 : 表示STARROCKS-V1.0.0。
  • 37 : 表示EMR-V3.4.0。
  • 38 : 表示EMR-V2.7.0。
  • 39 : 表示STARROCKS-V1.1.0。
  • 41 : 表示DRUID-V1.1.0。
  • * @return ProductId 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:
  • 16:表示EMR-V2.3.0。
  • 20:表示EMR-V2.5.0。
  • 25:表示EMR-V3.1.0。
  • 27:表示KAFKA-V1.0.0。
  • 30:表示EMR-V2.6.0。
  • 33 : 表示EMR-V3.2.1。
  • 34 : 表示EMR-V3.3.0。
  • 36 : 表示STARROCKS-V1.0.0。
  • 37 : 表示EMR-V3.4.0。
  • 38 : 表示EMR-V2.7.0。
  • 39 : 表示STARROCKS-V1.1.0。
  • 41 : 表示DRUID-V1.1.0。
  • */ public Long getProductId() { return this.ProductId; } /** * Set 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:
  • 16:表示EMR-V2.3.0。
  • 20:表示EMR-V2.5.0。
  • 25:表示EMR-V3.1.0。
  • 27:表示KAFKA-V1.0.0。
  • 30:表示EMR-V2.6.0。
  • 33 : 表示EMR-V3.2.1。
  • 34 : 表示EMR-V3.3.0。
  • 36 : 表示STARROCKS-V1.0.0。
  • 37 : 表示EMR-V3.4.0。
  • 38 : 表示EMR-V2.7.0。
  • 39 : 表示STARROCKS-V1.1.0。
  • 41 : 表示DRUID-V1.1.0。
  • * @param ProductId 产品ID,不同产品ID表示不同的EMR产品版本。取值范围:
  • 16:表示EMR-V2.3.0。
  • 20:表示EMR-V2.5.0。
  • 25:表示EMR-V3.1.0。
  • 27:表示KAFKA-V1.0.0。
  • 30:表示EMR-V2.6.0。
  • 33 : 表示EMR-V3.2.1。
  • 34 : 表示EMR-V3.3.0。
  • 36 : 表示STARROCKS-V1.0.0。
  • 37 : 表示EMR-V3.4.0。
  • 38 : 表示EMR-V2.7.0。
  • 39 : 表示STARROCKS-V1.1.0。
  • 41 : 表示DRUID-V1.1.0。
  • */ public void setProductId(Long ProductId) { this.ProductId = ProductId; } /** * Get 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ; 填写实例值:hive、flink。 * @return Software 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ; 填写实例值:hive、flink。 */ public String [] getSoftware() { return this.Software; } /** * Set 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ; 填写实例值:hive、flink。 * @param Software 部署的组件列表。不同的EMR产品ID(ProductId:具体含义参考入参ProductId字段)对应不同可选组件列表,不同产品版本可选组件列表查询:[组件版本](https://cloud.tencent.com/document/product/589/20279) ; 填写实例值:hive、flink。 */ public void setSoftware(String [] Software) { this.Software = Software; } /** * Get 是否开启节点高可用。取值范围:
  • 0:表示不开启节点高可用。
  • 1:表示开启节点高可用。
  • * @return SupportHA 是否开启节点高可用。取值范围:
  • 0:表示不开启节点高可用。
  • 1:表示开启节点高可用。
  • */ public Long getSupportHA() { return this.SupportHA; } /** * Set 是否开启节点高可用。取值范围:
  • 0:表示不开启节点高可用。
  • 1:表示开启节点高可用。
  • * @param SupportHA 是否开启节点高可用。取值范围:
  • 0:表示不开启节点高可用。
  • 1:表示开启节点高可用。
  • */ public void setSupportHA(Long SupportHA) { this.SupportHA = SupportHA; } /** * Get 实例名称。
  • 长度限制为6-36个字符。
  • 只允许包含中文、字母、数字、-、_。
  • * @return InstanceName 实例名称。
  • 长度限制为6-36个字符。
  • 只允许包含中文、字母、数字、-、_。
  • */ public String getInstanceName() { return this.InstanceName; } /** * Set 实例名称。
  • 长度限制为6-36个字符。
  • 只允许包含中文、字母、数字、-、_。
  • * @param InstanceName 实例名称。
  • 长度限制为6-36个字符。
  • 只允许包含中文、字母、数字、-、_。
  • */ public void setInstanceName(String InstanceName) { this.InstanceName = InstanceName; } /** * Get 实例计费模式。取值范围:
  • 0:表示按量计费。
  • 1:表示包年包月。
  • * @return PayMode 实例计费模式。取值范围:
  • 0:表示按量计费。
  • 1:表示包年包月。
  • */ public Long getPayMode() { return this.PayMode; } /** * Set 实例计费模式。取值范围:
  • 0:表示按量计费。
  • 1:表示包年包月。
  • * @param PayMode 实例计费模式。取值范围:
  • 0:表示按量计费。
  • 1:表示包年包月。
  • */ public void setPayMode(Long PayMode) { this.PayMode = PayMode; } /** * Get 购买实例的时长。结合TimeUnit一起使用。
  • TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
  • TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
  • * @return TimeSpan 购买实例的时长。结合TimeUnit一起使用。
  • TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
  • TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
  • */ public Long getTimeSpan() { return this.TimeSpan; } /** * Set 购买实例的时长。结合TimeUnit一起使用。
  • TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
  • TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
  • * @param TimeSpan 购买实例的时长。结合TimeUnit一起使用。
  • TimeUnit为s时,该参数只能填写3600,表示按量计费实例。
  • TimeUnit为m时,该参数填写的数字表示包年包月实例的购买时长,如1表示购买一个月
  • */ public void setTimeSpan(Long TimeSpan) { this.TimeSpan = TimeSpan; } /** * Get 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • * @return TimeUnit 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • */ public String getTimeUnit() { return this.TimeUnit; } /** * Set 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • * @param TimeUnit 购买实例的时间单位。取值范围:
  • s:表示秒。PayMode取值为0时,TimeUnit只能取值为s。
  • m:表示月份。PayMode取值为1时,TimeUnit只能取值为m。
  • */ public void setTimeUnit(String TimeUnit) { this.TimeUnit = TimeUnit; } /** * Get 实例登录设置。通过该参数可以设置所购买节点的登录方式密码或者密钥。
  • 设置密钥时,密码仅用于组件原生WebUI快捷入口登录。
  • 未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。
  • * @return LoginSettings 实例登录设置。通过该参数可以设置所购买节点的登录方式密码或者密钥。
  • 设置密钥时,密码仅用于组件原生WebUI快捷入口登录。
  • 未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。
  • */ public LoginSettings getLoginSettings() { return this.LoginSettings; } /** * Set 实例登录设置。通过该参数可以设置所购买节点的登录方式密码或者密钥。
  • 设置密钥时,密码仅用于组件原生WebUI快捷入口登录。
  • 未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。
  • * @param LoginSettings 实例登录设置。通过该参数可以设置所购买节点的登录方式密码或者密钥。
  • 设置密钥时,密码仅用于组件原生WebUI快捷入口登录。
  • 未设置密钥时,密码用于登录所购节点以及组件原生WebUI快捷入口登录。
  • */ public void setLoginSettings(LoginSettings LoginSettings) { this.LoginSettings = LoginSettings; } /** * Get 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。 * @return VPCSettings 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。 */ public VPCSettings getVPCSettings() { return this.VPCSettings; } /** * Set 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。 * @param VPCSettings 私有网络相关信息配置。通过该参数可以指定私有网络的ID,子网ID等信息。 */ public void setVPCSettings(VPCSettings VPCSettings) { this.VPCSettings = VPCSettings; } /** * Get 节点资源的规格。 * @return ResourceSpec 节点资源的规格。 */ public NewResourceSpec getResourceSpec() { return this.ResourceSpec; } /** * Set 节点资源的规格。 * @param ResourceSpec 节点资源的规格。 */ public void setResourceSpec(NewResourceSpec ResourceSpec) { this.ResourceSpec = ResourceSpec; } /** * Get 开启COS访问需要设置的参数。 * @return COSSettings 开启COS访问需要设置的参数。 */ public COSSettings getCOSSettings() { return this.COSSettings; } /** * Set 开启COS访问需要设置的参数。 * @param COSSettings 开启COS访问需要设置的参数。 */ public void setCOSSettings(COSSettings COSSettings) { this.COSSettings = COSSettings; } /** * Get 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 * @return Placement 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 */ public Placement getPlacement() { return this.Placement; } /** * Set 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 * @param Placement 实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 */ public void setPlacement(Placement Placement) { this.Placement = Placement; } /** * Get 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。 * @return SgId 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。 */ public String getSgId() { return this.SgId; } /** * Set 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。 * @param SgId 实例所属安全组的ID,形如sg-xxxxxxxx。该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的SecurityGroupId字段来获取。 */ public void setSgId(String SgId) { this.SgId = SgId; } /** * Get [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。 * @return PreExecutedFileSettings [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。 */ public PreExecuteFileSettings [] getPreExecutedFileSettings() { return this.PreExecutedFileSettings; } /** * Set [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。 * @param PreExecutedFileSettings [引导操作](https://cloud.tencent.com/document/product/589/35656)脚本设置。 */ public void setPreExecutedFileSettings(PreExecuteFileSettings [] PreExecutedFileSettings) { this.PreExecutedFileSettings = PreExecutedFileSettings; } /** * Get 包年包月实例是否自动续费。取值范围:
  • 0:表示不自动续费。
  • 1:表示自动续费。
  • * @return AutoRenew 包年包月实例是否自动续费。取值范围:
  • 0:表示不自动续费。
  • 1:表示自动续费。
  • */ public Long getAutoRenew() { return this.AutoRenew; } /** * Set 包年包月实例是否自动续费。取值范围:
  • 0:表示不自动续费。
  • 1:表示自动续费。
  • * @param AutoRenew 包年包月实例是否自动续费。取值范围:
  • 0:表示不自动续费。
  • 1:表示自动续费。
  • */ public void setAutoRenew(Long AutoRenew) { this.AutoRenew = AutoRenew; } /** * Get 客户端Token。 * @return ClientToken 客户端Token。 */ public String getClientToken() { return this.ClientToken; } /** * Set 客户端Token。 * @param ClientToken 客户端Token。 */ public void setClientToken(String ClientToken) { this.ClientToken = ClientToken; } /** * Get 是否开启集群Master节点公网。取值范围:
  • NEED_MASTER_WAN:表示开启集群Master节点公网。
  • NOT_NEED_MASTER_WAN:表示不开启。
  • 默认开启集群Master节点公网。 * @return NeedMasterWan 是否开启集群Master节点公网。取值范围:
  • NEED_MASTER_WAN:表示开启集群Master节点公网。
  • NOT_NEED_MASTER_WAN:表示不开启。
  • 默认开启集群Master节点公网。 */ public String getNeedMasterWan() { return this.NeedMasterWan; } /** * Set 是否开启集群Master节点公网。取值范围:
  • NEED_MASTER_WAN:表示开启集群Master节点公网。
  • NOT_NEED_MASTER_WAN:表示不开启。
  • 默认开启集群Master节点公网。 * @param NeedMasterWan 是否开启集群Master节点公网。取值范围:
  • NEED_MASTER_WAN:表示开启集群Master节点公网。
  • NOT_NEED_MASTER_WAN:表示不开启。
  • 默认开启集群Master节点公网。 */ public void setNeedMasterWan(String NeedMasterWan) { this.NeedMasterWan = NeedMasterWan; } /** * Get 是否需要开启外网远程登录,即22号端口。在SgId不为空时,该参数无效。 * @return RemoteLoginAtCreate 是否需要开启外网远程登录,即22号端口。在SgId不为空时,该参数无效。 */ public Long getRemoteLoginAtCreate() { return this.RemoteLoginAtCreate; } /** * Set 是否需要开启外网远程登录,即22号端口。在SgId不为空时,该参数无效。 * @param RemoteLoginAtCreate 是否需要开启外网远程登录,即22号端口。在SgId不为空时,该参数无效。 */ public void setRemoteLoginAtCreate(Long RemoteLoginAtCreate) { this.RemoteLoginAtCreate = RemoteLoginAtCreate; } /** * Get 是否开启安全集群。0表示不开启,非0表示开启。 * @return CheckSecurity 是否开启安全集群。0表示不开启,非0表示开启。 */ public Long getCheckSecurity() { return this.CheckSecurity; } /** * Set 是否开启安全集群。0表示不开启,非0表示开启。 * @param CheckSecurity 是否开启安全集群。0表示不开启,非0表示开启。 */ public void setCheckSecurity(Long CheckSecurity) { this.CheckSecurity = CheckSecurity; } /** * Get 访问外部文件系统。 * @return ExtendFsField 访问外部文件系统。 */ public String getExtendFsField() { return this.ExtendFsField; } /** * Set 访问外部文件系统。 * @param ExtendFsField 访问外部文件系统。 */ public void setExtendFsField(String ExtendFsField) { this.ExtendFsField = ExtendFsField; } /** * Get 标签描述列表。通过指定该参数可以同时绑定标签到相应的实例。 * @return Tags 标签描述列表。通过指定该参数可以同时绑定标签到相应的实例。 */ public Tag [] getTags() { return this.Tags; } /** * Set 标签描述列表。通过指定该参数可以同时绑定标签到相应的实例。 * @param Tags 标签描述列表。通过指定该参数可以同时绑定标签到相应的实例。 */ public void setTags(Tag [] Tags) { this.Tags = Tags; } /** * Get 分散置放群组ID列表,当前只支持指定一个。 该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/213/15486 ) 的返回值中的SecurityGroupId字段来获取。 * @return DisasterRecoverGroupIds 分散置放群组ID列表,当前只支持指定一个。 该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/213/15486 ) 的返回值中的SecurityGroupId字段来获取。 */ public String [] getDisasterRecoverGroupIds() { return this.DisasterRecoverGroupIds; } /** * Set 分散置放群组ID列表,当前只支持指定一个。 该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/213/15486 ) 的返回值中的SecurityGroupId字段来获取。 * @param DisasterRecoverGroupIds 分散置放群组ID列表,当前只支持指定一个。 该参数可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/product/213/15486 ) 的返回值中的SecurityGroupId字段来获取。 */ public void setDisasterRecoverGroupIds(String [] DisasterRecoverGroupIds) { this.DisasterRecoverGroupIds = DisasterRecoverGroupIds; } /** * Get 集群维度CBS加密盘,默认0表示不加密,1表示加密 * @return CbsEncrypt 集群维度CBS加密盘,默认0表示不加密,1表示加密 */ public Long getCbsEncrypt() { return this.CbsEncrypt; } /** * Set 集群维度CBS加密盘,默认0表示不加密,1表示加密 * @param CbsEncrypt 集群维度CBS加密盘,默认0表示不加密,1表示加密 */ public void setCbsEncrypt(Long CbsEncrypt) { this.CbsEncrypt = CbsEncrypt; } /** * Get hive共享元数据库类型。取值范围:
  • EMR_NEW_META:表示集群默认创建
  • EMR_EXIT_META:表示集群使用指定EMR-MetaDB。
  • USER_CUSTOM_META:表示集群使用自定义MetaDB。
  • * @return MetaType hive共享元数据库类型。取值范围:
  • EMR_NEW_META:表示集群默认创建
  • EMR_EXIT_META:表示集群使用指定EMR-MetaDB。
  • USER_CUSTOM_META:表示集群使用自定义MetaDB。
  • */ public String getMetaType() { return this.MetaType; } /** * Set hive共享元数据库类型。取值范围:
  • EMR_NEW_META:表示集群默认创建
  • EMR_EXIT_META:表示集群使用指定EMR-MetaDB。
  • USER_CUSTOM_META:表示集群使用自定义MetaDB。
  • * @param MetaType hive共享元数据库类型。取值范围:
  • EMR_NEW_META:表示集群默认创建
  • EMR_EXIT_META:表示集群使用指定EMR-MetaDB。
  • USER_CUSTOM_META:表示集群使用自定义MetaDB。
  • */ public void setMetaType(String MetaType) { this.MetaType = MetaType; } /** * Get EMR-MetaDB实例 * @return UnifyMetaInstanceId EMR-MetaDB实例 */ public String getUnifyMetaInstanceId() { return this.UnifyMetaInstanceId; } /** * Set EMR-MetaDB实例 * @param UnifyMetaInstanceId EMR-MetaDB实例 */ public void setUnifyMetaInstanceId(String UnifyMetaInstanceId) { this.UnifyMetaInstanceId = UnifyMetaInstanceId; } /** * Get 自定义MetaDB信息 * @return MetaDBInfo 自定义MetaDB信息 */ public CustomMetaInfo getMetaDBInfo() { return this.MetaDBInfo; } /** * Set 自定义MetaDB信息 * @param MetaDBInfo 自定义MetaDB信息 */ public void setMetaDBInfo(CustomMetaInfo MetaDBInfo) { this.MetaDBInfo = MetaDBInfo; } /** * Get 自定义应用角色。 * @return ApplicationRole 自定义应用角色。 */ public String getApplicationRole() { return this.ApplicationRole; } /** * Set 自定义应用角色。 * @param ApplicationRole 自定义应用角色。 */ public void setApplicationRole(String ApplicationRole) { this.ApplicationRole = ApplicationRole; } /** * Get 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase * @return SceneName 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase */ public String getSceneName() { return this.SceneName; } /** * Set 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase * @param SceneName 场景化取值: Hadoop-Kudu Hadoop-Zookeeper Hadoop-Presto Hadoop-Hbase */ public void setSceneName(String SceneName) { this.SceneName = SceneName; } /** * Get 共享组件信息 * @return ExternalService 共享组件信息 */ public ExternalService [] getExternalService() { return this.ExternalService; } /** * Set 共享组件信息 * @param ExternalService 共享组件信息 */ public void setExternalService(ExternalService [] ExternalService) { this.ExternalService = ExternalService; } /** * Get 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。 * @return VersionID 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。 */ public Long getVersionID() { return this.VersionID; } /** * Set 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。 * @param VersionID 如果为0,则MultiZone、MultiDeployStrategy、MultiZoneSettings是disable的状态,如果为1,则废弃ResourceSpec,使用MultiZoneSettings。 */ public void setVersionID(Long VersionID) { this.VersionID = VersionID; } /** * Get true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。 * @return MultiZone true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。 */ public Boolean getMultiZone() { return this.MultiZone; } /** * Set true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。 * @param MultiZone true表示开启跨AZ部署;仅为新建集群时的用户参数,后续不支持调整。 */ public void setMultiZone(Boolean MultiZone) { this.MultiZone = MultiZone; } /** * Get 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。 * @return MultiZoneSettings 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。 */ public MultiZoneSetting [] getMultiZoneSettings() { return this.MultiZoneSettings; } /** * Set 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。 * @param MultiZoneSettings 节点资源的规格,有几个可用区,就填几个,按顺序第一个为主可用区,第二个为备可用区,第三个为仲裁可用区。如果没有开启跨AZ,则长度为1即可。 */ public void setMultiZoneSettings(MultiZoneSetting [] MultiZoneSettings) { this.MultiZoneSettings = MultiZoneSettings; } public CreateInstanceRequest() { } /** * 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. */ public CreateInstanceRequest(CreateInstanceRequest source) { if (source.ProductId != null) { this.ProductId = new Long(source.ProductId); } if (source.Software != null) { this.Software = new String[source.Software.length]; for (int i = 0; i < source.Software.length; i++) { this.Software[i] = new String(source.Software[i]); } } if (source.SupportHA != null) { this.SupportHA = new Long(source.SupportHA); } if (source.InstanceName != null) { this.InstanceName = new String(source.InstanceName); } if (source.PayMode != null) { this.PayMode = new Long(source.PayMode); } if (source.TimeSpan != null) { this.TimeSpan = new Long(source.TimeSpan); } if (source.TimeUnit != null) { this.TimeUnit = new String(source.TimeUnit); } if (source.LoginSettings != null) { this.LoginSettings = new LoginSettings(source.LoginSettings); } if (source.VPCSettings != null) { this.VPCSettings = new VPCSettings(source.VPCSettings); } if (source.ResourceSpec != null) { this.ResourceSpec = new NewResourceSpec(source.ResourceSpec); } if (source.COSSettings != null) { this.COSSettings = new COSSettings(source.COSSettings); } if (source.Placement != null) { this.Placement = new Placement(source.Placement); } if (source.SgId != null) { this.SgId = new String(source.SgId); } if (source.PreExecutedFileSettings != null) { this.PreExecutedFileSettings = new PreExecuteFileSettings[source.PreExecutedFileSettings.length]; for (int i = 0; i < source.PreExecutedFileSettings.length; i++) { this.PreExecutedFileSettings[i] = new PreExecuteFileSettings(source.PreExecutedFileSettings[i]); } } if (source.AutoRenew != null) { this.AutoRenew = new Long(source.AutoRenew); } if (source.ClientToken != null) { this.ClientToken = new String(source.ClientToken); } if (source.NeedMasterWan != null) { this.NeedMasterWan = new String(source.NeedMasterWan); } if (source.RemoteLoginAtCreate != null) { this.RemoteLoginAtCreate = new Long(source.RemoteLoginAtCreate); } if (source.CheckSecurity != null) { this.CheckSecurity = new Long(source.CheckSecurity); } if (source.ExtendFsField != null) { this.ExtendFsField = new String(source.ExtendFsField); } if (source.Tags != null) { this.Tags = new Tag[source.Tags.length]; for (int i = 0; i < source.Tags.length; i++) { this.Tags[i] = new Tag(source.Tags[i]); } } if (source.DisasterRecoverGroupIds != null) { this.DisasterRecoverGroupIds = new String[source.DisasterRecoverGroupIds.length]; for (int i = 0; i < source.DisasterRecoverGroupIds.length; i++) { this.DisasterRecoverGroupIds[i] = new String(source.DisasterRecoverGroupIds[i]); } } if (source.CbsEncrypt != null) { this.CbsEncrypt = new Long(source.CbsEncrypt); } if (source.MetaType != null) { this.MetaType = new String(source.MetaType); } if (source.UnifyMetaInstanceId != null) { this.UnifyMetaInstanceId = new String(source.UnifyMetaInstanceId); } if (source.MetaDBInfo != null) { this.MetaDBInfo = new CustomMetaInfo(source.MetaDBInfo); } if (source.ApplicationRole != null) { this.ApplicationRole = new String(source.ApplicationRole); } if (source.SceneName != null) { this.SceneName = new String(source.SceneName); } if (source.ExternalService != null) { this.ExternalService = new ExternalService[source.ExternalService.length]; for (int i = 0; i < source.ExternalService.length; i++) { this.ExternalService[i] = new ExternalService(source.ExternalService[i]); } } if (source.VersionID != null) { this.VersionID = new Long(source.VersionID); } if (source.MultiZone != null) { this.MultiZone = new Boolean(source.MultiZone); } if (source.MultiZoneSettings != null) { this.MultiZoneSettings = new MultiZoneSetting[source.MultiZoneSettings.length]; for (int i = 0; i < source.MultiZoneSettings.length; i++) { this.MultiZoneSettings[i] = new MultiZoneSetting(source.MultiZoneSettings[i]); } } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ProductId", this.ProductId); this.setParamArraySimple(map, prefix + "Software.", this.Software); this.setParamSimple(map, prefix + "SupportHA", this.SupportHA); this.setParamSimple(map, prefix + "InstanceName", this.InstanceName); this.setParamSimple(map, prefix + "PayMode", this.PayMode); this.setParamSimple(map, prefix + "TimeSpan", this.TimeSpan); this.setParamSimple(map, prefix + "TimeUnit", this.TimeUnit); this.setParamObj(map, prefix + "LoginSettings.", this.LoginSettings); this.setParamObj(map, prefix + "VPCSettings.", this.VPCSettings); this.setParamObj(map, prefix + "ResourceSpec.", this.ResourceSpec); this.setParamObj(map, prefix + "COSSettings.", this.COSSettings); this.setParamObj(map, prefix + "Placement.", this.Placement); this.setParamSimple(map, prefix + "SgId", this.SgId); this.setParamArrayObj(map, prefix + "PreExecutedFileSettings.", this.PreExecutedFileSettings); this.setParamSimple(map, prefix + "AutoRenew", this.AutoRenew); this.setParamSimple(map, prefix + "ClientToken", this.ClientToken); this.setParamSimple(map, prefix + "NeedMasterWan", this.NeedMasterWan); this.setParamSimple(map, prefix + "RemoteLoginAtCreate", this.RemoteLoginAtCreate); this.setParamSimple(map, prefix + "CheckSecurity", this.CheckSecurity); this.setParamSimple(map, prefix + "ExtendFsField", this.ExtendFsField); this.setParamArrayObj(map, prefix + "Tags.", this.Tags); this.setParamArraySimple(map, prefix + "DisasterRecoverGroupIds.", this.DisasterRecoverGroupIds); this.setParamSimple(map, prefix + "CbsEncrypt", this.CbsEncrypt); this.setParamSimple(map, prefix + "MetaType", this.MetaType); this.setParamSimple(map, prefix + "UnifyMetaInstanceId", this.UnifyMetaInstanceId); this.setParamObj(map, prefix + "MetaDBInfo.", this.MetaDBInfo); this.setParamSimple(map, prefix + "ApplicationRole", this.ApplicationRole); this.setParamSimple(map, prefix + "SceneName", this.SceneName); this.setParamArrayObj(map, prefix + "ExternalService.", this.ExternalService); this.setParamSimple(map, prefix + "VersionID", this.VersionID); this.setParamSimple(map, prefix + "MultiZone", this.MultiZone); this.setParamArrayObj(map, prefix + "MultiZoneSettings.", this.MultiZoneSettings); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy