Class CreateDataEngineRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dlc.v20210125.models.CreateDataEngineRequest
-
public class CreateDataEngineRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateDataEngineRequest()CreateDataEngineRequest(CreateDataEngineRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LonggetAutoRenew()Get 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0BooleangetAutoResume()Get 是否自动启动集群BooleangetAutoSuspend()Get 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起LonggetAutoSuspendTime()Get 集群自动挂起时间,默认10分钟StringgetCidrBlock()Get VPC网段StringgetClusterType()Get 集群类型 spark_private/presto_private/presto_cu/spark_cuLonggetCrontabResumeSuspend()Get 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)CrontabResumeSuspendStrategygetCrontabResumeSuspendStrategy()Get 定时启停策略,复杂类型:包含启停时间、挂起集群策略DataEngineConfigPair[]getDataEngineConfigPairs()Get 集群高级配置StringgetDataEngineName()Get 虚拟集群名称BooleangetDefaultDataEngine()Deprecated.LonggetElasticLimit()Get spark jar 包年包月集群弹性上限BooleangetElasticSwitch()Get spark jar 包年包月集群是否开启弹性StringgetEngineExecType()Get 引擎执行任务类型,有效值:SQL/BATCH,默认为SQLStringgetEngineType()Get 引擎类型spark/prestoStringgetImageVersionName()Get 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群StringgetMainClusterName()Get 主集群名称,创建容灾集群时指定LonggetMaxClusters()Get 最大资源LonggetMaxConcurrency()Get 单个集群最大并发任务数,默认5StringgetMessage()Get 描述信息LonggetMinClusters()Get 最小资源LonggetMode()Get 计费模式 0=共享模式 1=按量计费 2=包年包月LonggetPayMode()Get 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。StringgetResourceType()Get 资源类型。Standard_CU:标准型;Memory_CU:内存型SessionResourceTemplategetSessionResourceTemplate()Get spark作业集群session资源配置模板LonggetSize()Get 集群规模TagInfo[]getTags()Get 创建资源的时候需要绑定的标签信息LonggetTimeSpan()Get 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600StringgetTimeUnit()Get 资源使用时长的单位,后付费:s,预付费:m。默认为sLonggetTolerableQueueTime()Get 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。voidsetAutoRenew(Long AutoRenew)Set 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0voidsetAutoResume(Boolean AutoResume)Set 是否自动启动集群voidsetAutoSuspend(Boolean AutoSuspend)Set 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起voidsetAutoSuspendTime(Long AutoSuspendTime)Set 集群自动挂起时间,默认10分钟voidsetCidrBlock(String CidrBlock)Set VPC网段voidsetClusterType(String ClusterType)Set 集群类型 spark_private/presto_private/presto_cu/spark_cuvoidsetCrontabResumeSuspend(Long CrontabResumeSuspend)Set 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)voidsetCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)Set 定时启停策略,复杂类型:包含启停时间、挂起集群策略voidsetDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)Set 集群高级配置voidsetDataEngineName(String DataEngineName)Set 虚拟集群名称voidsetDefaultDataEngine(Boolean DefaultDataEngine)Deprecated.voidsetElasticLimit(Long ElasticLimit)Set spark jar 包年包月集群弹性上限voidsetElasticSwitch(Boolean ElasticSwitch)Set spark jar 包年包月集群是否开启弹性voidsetEngineExecType(String EngineExecType)Set 引擎执行任务类型,有效值:SQL/BATCH,默认为SQLvoidsetEngineType(String EngineType)Set 引擎类型spark/prestovoidsetImageVersionName(String ImageVersionName)Set 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群voidsetMainClusterName(String MainClusterName)Set 主集群名称,创建容灾集群时指定voidsetMaxClusters(Long MaxClusters)Set 最大资源voidsetMaxConcurrency(Long MaxConcurrency)Set 单个集群最大并发任务数,默认5voidsetMessage(String Message)Set 描述信息voidsetMinClusters(Long MinClusters)Set 最小资源voidsetMode(Long Mode)Set 计费模式 0=共享模式 1=按量计费 2=包年包月voidsetPayMode(Long PayMode)Set 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。voidsetResourceType(String ResourceType)Set 资源类型。Standard_CU:标准型;Memory_CU:内存型voidsetSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)Set spark作业集群session资源配置模板voidsetSize(Long Size)Set 集群规模voidsetTags(TagInfo[] Tags)Set 创建资源的时候需要绑定的标签信息voidsetTimeSpan(Long TimeSpan)Set 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600voidsetTimeUnit(String TimeUnit)Set 资源使用时长的单位,后付费:s,预付费:m。默认为svoidsetTolerableQueueTime(Long TolerableQueueTime)Set 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateDataEngineRequest
public CreateDataEngineRequest()
-
CreateDataEngineRequest
public CreateDataEngineRequest(CreateDataEngineRequest 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.
-
-
Method Detail
-
getEngineType
public String getEngineType()
Get 引擎类型spark/presto- Returns:
- EngineType 引擎类型spark/presto
-
setEngineType
public void setEngineType(String EngineType)
Set 引擎类型spark/presto- Parameters:
EngineType- 引擎类型spark/presto
-
getDataEngineName
public String getDataEngineName()
Get 虚拟集群名称- Returns:
- DataEngineName 虚拟集群名称
-
setDataEngineName
public void setDataEngineName(String DataEngineName)
Set 虚拟集群名称- Parameters:
DataEngineName- 虚拟集群名称
-
getClusterType
public String getClusterType()
Get 集群类型 spark_private/presto_private/presto_cu/spark_cu- Returns:
- ClusterType 集群类型 spark_private/presto_private/presto_cu/spark_cu
-
setClusterType
public void setClusterType(String ClusterType)
Set 集群类型 spark_private/presto_private/presto_cu/spark_cu- Parameters:
ClusterType- 集群类型 spark_private/presto_private/presto_cu/spark_cu
-
getMode
public Long getMode()
Get 计费模式 0=共享模式 1=按量计费 2=包年包月- Returns:
- Mode 计费模式 0=共享模式 1=按量计费 2=包年包月
-
setMode
public void setMode(Long Mode)
Set 计费模式 0=共享模式 1=按量计费 2=包年包月- Parameters:
Mode- 计费模式 0=共享模式 1=按量计费 2=包年包月
-
getAutoResume
public Boolean getAutoResume()
Get 是否自动启动集群- Returns:
- AutoResume 是否自动启动集群
-
setAutoResume
public void setAutoResume(Boolean AutoResume)
Set 是否自动启动集群- Parameters:
AutoResume- 是否自动启动集群
-
getMinClusters
public Long getMinClusters()
Get 最小资源- Returns:
- MinClusters 最小资源
-
setMinClusters
public void setMinClusters(Long MinClusters)
Set 最小资源- Parameters:
MinClusters- 最小资源
-
getMaxClusters
public Long getMaxClusters()
Get 最大资源- Returns:
- MaxClusters 最大资源
-
setMaxClusters
public void setMaxClusters(Long MaxClusters)
Set 最大资源- Parameters:
MaxClusters- 最大资源
-
getDefaultDataEngine
@Deprecated public Boolean getDefaultDataEngine()
Deprecated.Get 是否为默认虚拟集群- Returns:
- DefaultDataEngine 是否为默认虚拟集群
-
setDefaultDataEngine
@Deprecated public void setDefaultDataEngine(Boolean DefaultDataEngine)
Deprecated.Set 是否为默认虚拟集群- Parameters:
DefaultDataEngine- 是否为默认虚拟集群
-
getCidrBlock
public String getCidrBlock()
Get VPC网段- Returns:
- CidrBlock VPC网段
-
setCidrBlock
public void setCidrBlock(String CidrBlock)
Set VPC网段- Parameters:
CidrBlock- VPC网段
-
getMessage
public String getMessage()
Get 描述信息- Returns:
- Message 描述信息
-
setMessage
public void setMessage(String Message)
Set 描述信息- Parameters:
Message- 描述信息
-
getSize
public Long getSize()
Get 集群规模- Returns:
- Size 集群规模
-
setSize
public void setSize(Long Size)
Set 集群规模- Parameters:
Size- 集群规模
-
getPayMode
public Long getPayMode()
Get 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。- Returns:
- PayMode 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
-
setPayMode
public void setPayMode(Long PayMode)
Set 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。- Parameters:
PayMode- 计费类型,后付费:0,预付费:1。当前只支持后付费,不填默认为后付费。
-
getTimeSpan
public Long getTimeSpan()
Get 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600- Returns:
- TimeSpan 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600
-
setTimeSpan
public void setTimeSpan(Long TimeSpan)
Set 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600- Parameters:
TimeSpan- 资源使用时长,后付费:固定填3600,预付费:最少填1,代表购买资源一个月,最长不超过120。默认3600
-
getTimeUnit
public String getTimeUnit()
Get 资源使用时长的单位,后付费:s,预付费:m。默认为s- Returns:
- TimeUnit 资源使用时长的单位,后付费:s,预付费:m。默认为s
-
setTimeUnit
public void setTimeUnit(String TimeUnit)
Set 资源使用时长的单位,后付费:s,预付费:m。默认为s- Parameters:
TimeUnit- 资源使用时长的单位,后付费:s,预付费:m。默认为s
-
getAutoRenew
public Long getAutoRenew()
Get 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0- Returns:
- AutoRenew 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0
-
setAutoRenew
public void setAutoRenew(Long AutoRenew)
Set 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0- Parameters:
AutoRenew- 资源的自动续费标志。后付费无需续费,固定填0;预付费下:0表示手动续费、1代表自动续费、2代表不续费,在0下如果是大客户,会自动帮大客户续费。默认为0
-
getTags
public TagInfo[] getTags()
Get 创建资源的时候需要绑定的标签信息- Returns:
- Tags 创建资源的时候需要绑定的标签信息
-
setTags
public void setTags(TagInfo[] Tags)
Set 创建资源的时候需要绑定的标签信息- Parameters:
Tags- 创建资源的时候需要绑定的标签信息
-
getAutoSuspend
public Boolean getAutoSuspend()
Get 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起- Returns:
- AutoSuspend 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
-
setAutoSuspend
public void setAutoSuspend(Boolean AutoSuspend)
Set 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起- Parameters:
AutoSuspend- 是否自定挂起集群:false(默认):不自动挂起、true:自动挂起
-
getCrontabResumeSuspend
public Long getCrontabResumeSuspend()
Get 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)- Returns:
- CrontabResumeSuspend 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
-
setCrontabResumeSuspend
public void setCrontabResumeSuspend(Long CrontabResumeSuspend)
Set 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)- Parameters:
CrontabResumeSuspend- 定时启停集群策略:0(默认):关闭定时策略、1:开启定时策略(注:定时启停策略与自动挂起策略互斥)
-
getCrontabResumeSuspendStrategy
public CrontabResumeSuspendStrategy getCrontabResumeSuspendStrategy()
Get 定时启停策略,复杂类型:包含启停时间、挂起集群策略- Returns:
- CrontabResumeSuspendStrategy 定时启停策略,复杂类型:包含启停时间、挂起集群策略
-
setCrontabResumeSuspendStrategy
public void setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
Set 定时启停策略,复杂类型:包含启停时间、挂起集群策略- Parameters:
CrontabResumeSuspendStrategy- 定时启停策略,复杂类型:包含启停时间、挂起集群策略
-
getEngineExecType
public String getEngineExecType()
Get 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL- Returns:
- EngineExecType 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
-
setEngineExecType
public void setEngineExecType(String EngineExecType)
Set 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL- Parameters:
EngineExecType- 引擎执行任务类型,有效值:SQL/BATCH,默认为SQL
-
getMaxConcurrency
public Long getMaxConcurrency()
Get 单个集群最大并发任务数,默认5- Returns:
- MaxConcurrency 单个集群最大并发任务数,默认5
-
setMaxConcurrency
public void setMaxConcurrency(Long MaxConcurrency)
Set 单个集群最大并发任务数,默认5- Parameters:
MaxConcurrency- 单个集群最大并发任务数,默认5
-
getTolerableQueueTime
public Long getTolerableQueueTime()
Get 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。- Returns:
- TolerableQueueTime 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
-
setTolerableQueueTime
public void setTolerableQueueTime(Long TolerableQueueTime)
Set 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。- Parameters:
TolerableQueueTime- 可容忍的排队时间,默认0。当任务排队的时间超过可容忍的时间时可能会触发扩容。如果该参数为0,则表示一旦有任务排队就可能立即触发扩容。
-
getAutoSuspendTime
public Long getAutoSuspendTime()
Get 集群自动挂起时间,默认10分钟- Returns:
- AutoSuspendTime 集群自动挂起时间,默认10分钟
-
setAutoSuspendTime
public void setAutoSuspendTime(Long AutoSuspendTime)
Set 集群自动挂起时间,默认10分钟- Parameters:
AutoSuspendTime- 集群自动挂起时间,默认10分钟
-
getResourceType
public String getResourceType()
Get 资源类型。Standard_CU:标准型;Memory_CU:内存型- Returns:
- ResourceType 资源类型。Standard_CU:标准型;Memory_CU:内存型
-
setResourceType
public void setResourceType(String ResourceType)
Set 资源类型。Standard_CU:标准型;Memory_CU:内存型- Parameters:
ResourceType- 资源类型。Standard_CU:标准型;Memory_CU:内存型
-
getDataEngineConfigPairs
public DataEngineConfigPair[] getDataEngineConfigPairs()
Get 集群高级配置- Returns:
- DataEngineConfigPairs 集群高级配置
-
setDataEngineConfigPairs
public void setDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)
Set 集群高级配置- Parameters:
DataEngineConfigPairs- 集群高级配置
-
getImageVersionName
public String getImageVersionName()
Get 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群- Returns:
- ImageVersionName 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群
-
setImageVersionName
public void setImageVersionName(String ImageVersionName)
Set 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群- Parameters:
ImageVersionName- 集群镜像版本名字。如SuperSQL-P 1.1;SuperSQL-S 3.2等,不传,默认创建最新镜像版本的集群
-
getMainClusterName
public String getMainClusterName()
Get 主集群名称,创建容灾集群时指定- Returns:
- MainClusterName 主集群名称,创建容灾集群时指定
-
setMainClusterName
public void setMainClusterName(String MainClusterName)
Set 主集群名称,创建容灾集群时指定- Parameters:
MainClusterName- 主集群名称,创建容灾集群时指定
-
getElasticSwitch
public Boolean getElasticSwitch()
Get spark jar 包年包月集群是否开启弹性- Returns:
- ElasticSwitch spark jar 包年包月集群是否开启弹性
-
setElasticSwitch
public void setElasticSwitch(Boolean ElasticSwitch)
Set spark jar 包年包月集群是否开启弹性- Parameters:
ElasticSwitch- spark jar 包年包月集群是否开启弹性
-
getElasticLimit
public Long getElasticLimit()
Get spark jar 包年包月集群弹性上限- Returns:
- ElasticLimit spark jar 包年包月集群弹性上限
-
setElasticLimit
public void setElasticLimit(Long ElasticLimit)
Set spark jar 包年包月集群弹性上限- Parameters:
ElasticLimit- spark jar 包年包月集群弹性上限
-
getSessionResourceTemplate
public SessionResourceTemplate getSessionResourceTemplate()
Get spark作业集群session资源配置模板- Returns:
- SessionResourceTemplate spark作业集群session资源配置模板
-
setSessionResourceTemplate
public void setSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)
Set spark作业集群session资源配置模板- Parameters:
SessionResourceTemplate- spark作业集群session资源配置模板
-
-