public class CreateDataEngineRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenew()
Get The auto-renewal status of the resource.
|
Boolean |
getAutoResume()
Get Whether to automatically start the clusters.
|
Boolean |
getAutoSuspend()
Get Whether to automatically suspend clusters.
|
Long |
getAutoSuspendTime()
Get The cluster auto-suspension time, which defaults to 10 min.
|
String |
getCidrBlock()
Get The VPC CIDR block.
|
String |
getClusterType()
Get The cluster type.
|
Long |
getCrontabResumeSuspend()
Get Whether to enable scheduled start and suspension of clusters.
|
CrontabResumeSuspendStrategy |
getCrontabResumeSuspendStrategy()
Get The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
|
DataEngineConfigPair[] |
getDataEngineConfigPairs()
Get The advanced configurations of clusters.
|
String |
getDataEngineName()
Get The name of the virtual cluster.
|
Boolean |
getDefaultDataEngine()
Get Whether the cluster is the default one.
|
Long |
getElasticLimit()
Get The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
|
Boolean |
getElasticSwitch()
Get Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
|
String |
getEngineExecType()
Get The type of tasks to be executed by the engine, which defaults to SQL.
|
String |
getEngineType()
Get The engine type.
|
String |
getImageVersionName()
Get The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2.
|
String |
getMainClusterName()
Get The name of the primary cluster.
|
Long |
getMaxClusters()
Get The maximum number of clusters.
|
Long |
getMaxConcurrency()
Get The max task concurrency of a cluster, which defaults to 5.
|
String |
getMessage()
Get The description.
|
Long |
getMinClusters()
Get The minimum number of clusters.
|
Long |
getMode()
Get The billing mode.
|
Long |
getPayMode()
Get The pay mode.
|
String |
getResourceType()
Get The resource type.
|
Long |
getSize()
Get The cluster size.
|
TagInfo[] |
getTags()
Get The tags to be set for the resource being created.
|
Long |
getTimeSpan()
Get The resource period.
|
String |
getTimeUnit()
Get The unit of the resource period.
|
Long |
getTolerableQueueTime()
Get The task queue time limit, which defaults to 0.
|
void |
setAutoRenew(Long AutoRenew)
Set The auto-renewal status of the resource.
|
void |
setAutoResume(Boolean AutoResume)
Set Whether to automatically start the clusters.
|
void |
setAutoSuspend(Boolean AutoSuspend)
Set Whether to automatically suspend clusters.
|
void |
setAutoSuspendTime(Long AutoSuspendTime)
Set The cluster auto-suspension time, which defaults to 10 min.
|
void |
setCidrBlock(String CidrBlock)
Set The VPC CIDR block.
|
void |
setClusterType(String ClusterType)
Set The cluster type.
|
void |
setCrontabResumeSuspend(Long CrontabResumeSuspend)
Set Whether to enable scheduled start and suspension of clusters.
|
void |
setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
Set The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.
|
void |
setDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)
Set The advanced configurations of clusters.
|
void |
setDataEngineName(String DataEngineName)
Set The name of the virtual cluster.
|
void |
setDefaultDataEngine(Boolean DefaultDataEngine)
Set Whether the cluster is the default one.
|
void |
setElasticLimit(Long ElasticLimit)
Set The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.
|
void |
setElasticSwitch(Boolean ElasticSwitch)
Set Whether to enable the scaling feature for a monthly subscribed Spark job cluster.
|
void |
setEngineExecType(String EngineExecType)
Set The type of tasks to be executed by the engine, which defaults to SQL.
|
void |
setEngineType(String EngineType)
Set The engine type.
|
void |
setImageVersionName(String ImageVersionName)
Set The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2.
|
void |
setMainClusterName(String MainClusterName)
Set The name of the primary cluster.
|
void |
setMaxClusters(Long MaxClusters)
Set The maximum number of clusters.
|
void |
setMaxConcurrency(Long MaxConcurrency)
Set The max task concurrency of a cluster, which defaults to 5.
|
void |
setMessage(String Message)
Set The description.
|
void |
setMinClusters(Long MinClusters)
Set The minimum number of clusters.
|
void |
setMode(Long Mode)
Set The billing mode.
|
void |
setPayMode(Long PayMode)
Set The pay mode.
|
void |
setResourceType(String ResourceType)
Set The resource type.
|
void |
setSize(Long Size)
Set The cluster size.
|
void |
setTags(TagInfo[] Tags)
Set The tags to be set for the resource being created.
|
void |
setTimeSpan(Long TimeSpan)
Set The resource period.
|
void |
setTimeUnit(String TimeUnit)
Set The unit of the resource period.
|
void |
setTolerableQueueTime(Long TolerableQueueTime)
Set The task queue time limit, which defaults to 0.
|
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 CreateDataEngineRequest()
public CreateDataEngineRequest(CreateDataEngineRequest source)
public String getEngineType()
public void setEngineType(String EngineType)
EngineType
- The engine type. Valid values: `spark` and `presto`.public String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- The name of the virtual cluster.public String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- The cluster type. Valid values: `spark_private`, `presto_private`, `presto_cu`, and `spark_cu`.public Long getMode()
public void setMode(Long Mode)
Mode
- The billing mode. Valid values: `0` (shared engine), `1` (pay-as-you-go), and `2` (monthly subscription).public Boolean getAutoResume()
public void setAutoResume(Boolean AutoResume)
AutoResume
- Whether to automatically start the clusters.public Long getMinClusters()
public void setMinClusters(Long MinClusters)
MinClusters
- The minimum number of clusters.public Long getMaxClusters()
public void setMaxClusters(Long MaxClusters)
MaxClusters
- The maximum number of clusters.public Boolean getDefaultDataEngine()
public void setDefaultDataEngine(Boolean DefaultDataEngine)
DefaultDataEngine
- Whether the cluster is the default one.public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- The VPC CIDR block.public String getMessage()
public void setMessage(String Message)
Message
- The description.public Long getSize()
public void setSize(Long Size)
Size
- The cluster size.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode
- The pay mode. Valid value: `0` (postpaid, default) and `1` (prepaid) (currently not available).public Long getTimeSpan()
public void setTimeSpan(Long TimeSpan)
TimeSpan
- The resource period. For the postpaid mode, the value is 3600 (default); for the prepaid mode, the value must be in the range of 1–120, representing purchasing the resource for 1–120 months.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- The unit of the resource period. Valid values: `s` (default) for the postpaid mode and `m` for the prepaid mode.public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- The auto-renewal status of the resource. For the postpaid mode, no renewal is required, and the value is fixed to `0`. For the prepaid mode, valid values are `0` (manual), `1` (auto), and `2` (no renewal). If this parameter is set to `0` for a key account in the prepaid mode, auto-renewal applies. It defaults to `0`.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- The tags to be set for the resource being created.public Boolean getAutoSuspend()
public void setAutoSuspend(Boolean AutoSuspend)
AutoSuspend
- Whether to automatically suspend clusters. Valid values: `false` (default, no) and `true` (yes).public Long getCrontabResumeSuspend()
public void setCrontabResumeSuspend(Long CrontabResumeSuspend)
CrontabResumeSuspend
- Whether to enable scheduled start and suspension of clusters. Valid values: `0` (disable) and `1` (enable). Note: This policy and the auto-suspension policy are mutually exclusive.public CrontabResumeSuspendStrategy getCrontabResumeSuspendStrategy()
public void setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
CrontabResumeSuspendStrategy
- The complex policy for scheduled start and suspension, including the start/suspension time and suspension policy.public String getEngineExecType()
public void setEngineExecType(String EngineExecType)
EngineExecType
- The type of tasks to be executed by the engine, which defaults to SQL.public Long getMaxConcurrency()
public void setMaxConcurrency(Long MaxConcurrency)
MaxConcurrency
- The max task concurrency of a cluster, which defaults to 5.public Long getTolerableQueueTime()
public void setTolerableQueueTime(Long TolerableQueueTime)
TolerableQueueTime
- The task queue time limit, which defaults to 0. When the actual queue time exceeds the value set here, scale-out may be triggered. Setting this parameter to 0 represents that scale-out may be triggered immediately after a task queues up.public Long getAutoSuspendTime()
public void setAutoSuspendTime(Long AutoSuspendTime)
AutoSuspendTime
- The cluster auto-suspension time, which defaults to 10 min.public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType
- The resource type. Valid values: `Standard_CU` (standard) and `Memory_CU` (memory).public DataEngineConfigPair[] getDataEngineConfigPairs()
public void setDataEngineConfigPairs(DataEngineConfigPair[] DataEngineConfigPairs)
DataEngineConfigPairs
- The advanced configurations of clusters.public String getImageVersionName()
public void setImageVersionName(String ImageVersionName)
ImageVersionName
- The version name of cluster image, such as SuperSQL-P 1.1 and SuperSQL-S 3.2. If no value is passed in, a cluster is created using the latest image version.public String getMainClusterName()
public void setMainClusterName(String MainClusterName)
MainClusterName
- The name of the primary cluster.public Boolean getElasticSwitch()
public void setElasticSwitch(Boolean ElasticSwitch)
ElasticSwitch
- Whether to enable the scaling feature for a monthly subscribed Spark job cluster.public Long getElasticLimit()
public void setElasticLimit(Long ElasticLimit)
ElasticLimit
- The upper limit (in CUs) for scaling of the monthly subscribed Spark job cluster.Copyright © 2023. All rights reserved.