public class UpdateDataEngineRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateDataEngineRequest() |
UpdateDataEngineRequest(UpdateDataEngineRequest 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 |
---|---|
Boolean |
getAutoResume()
Get Enable the auto-refresh.
|
Boolean |
getAutoSuspend()
Get Whether to automatically suspend the cluster.
|
Long |
getAutoSuspendTime()
Get Cluster automatic suspension time
|
Long |
getCrontabResumeSuspend()
Get Scheduling policy of starting and ending the cluster: 0 (by default) indicates disabling the scheduling policy; 1 indicates enabling the scheduling policy.
|
CrontabResumeSuspendStrategy |
getCrontabResumeSuspendStrategy()
Get Scheduling policy for the start and end; the complex type includes start and end time and the cluster suspension policy.
|
String |
getDataEngineName()
Get Data engine name
|
Long |
getElasticLimit()
Get Upper limit of the spark jar monthly subscription cluster elastic scaling
|
Boolean |
getElasticSwitch()
Get Whether the AS of the spark jar monthly subscription cluster is enabled
|
Long |
getMaxClusters()
Get Maximum CU resource
|
Long |
getMaxConcurrency()
Get The maximum number of concurrent tasks for a single cluster, which is 5 by default.
|
String |
getMessage()
Get Related information
|
Long |
getMinClusters()
Get Minimum CU resource
|
SessionResourceTemplate |
getSessionResourceTemplate()
Get Session resource configuration template of Spark batch job clusters
|
Long |
getSize()
Get Resource size
|
Long |
getTolerableQueueTime()
Get Tolerable queuing time, and it is 0 by default.
|
void |
setAutoResume(Boolean AutoResume)
Set Enable the auto-refresh.
|
void |
setAutoSuspend(Boolean AutoSuspend)
Set Whether to automatically suspend the cluster.
|
void |
setAutoSuspendTime(Long AutoSuspendTime)
Set Cluster automatic suspension time
|
void |
setCrontabResumeSuspend(Long CrontabResumeSuspend)
Set Scheduling policy of starting and ending the cluster: 0 (by default) indicates disabling the scheduling policy; 1 indicates enabling the scheduling policy.
|
void |
setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
Set Scheduling policy for the start and end; the complex type includes start and end time and the cluster suspension policy.
|
void |
setDataEngineName(String DataEngineName)
Set Data engine name
|
void |
setElasticLimit(Long ElasticLimit)
Set Upper limit of the spark jar monthly subscription cluster elastic scaling
|
void |
setElasticSwitch(Boolean ElasticSwitch)
Set Whether the AS of the spark jar monthly subscription cluster is enabled
|
void |
setMaxClusters(Long MaxClusters)
Set Maximum CU resource
|
void |
setMaxConcurrency(Long MaxConcurrency)
Set The maximum number of concurrent tasks for a single cluster, which is 5 by default.
|
void |
setMessage(String Message)
Set Related information
|
void |
setMinClusters(Long MinClusters)
Set Minimum CU resource
|
void |
setSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)
Set Session resource configuration template of Spark batch job clusters
|
void |
setSize(Long Size)
Set Resource size
|
void |
setTolerableQueueTime(Long TolerableQueueTime)
Set Tolerable queuing time, and it is 0 by default.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpdateDataEngineRequest()
public UpdateDataEngineRequest(UpdateDataEngineRequest source)
public Long getSize()
public void setSize(Long Size)
Size
- Resource sizepublic Long getMinClusters()
public void setMinClusters(Long MinClusters)
MinClusters
- Minimum CU resourcepublic Long getMaxClusters()
public void setMaxClusters(Long MaxClusters)
MaxClusters
- Maximum CU resourcepublic Boolean getAutoResume()
public void setAutoResume(Boolean AutoResume)
AutoResume
- Enable the auto-refresh. True means that it is enabled while false means that it is disabled (by default).public String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- Data engine namepublic String getMessage()
public void setMessage(String Message)
Message
- Related informationpublic Boolean getAutoSuspend()
public void setAutoSuspend(Boolean AutoSuspend)
AutoSuspend
- Whether to automatically suspend the cluster. False means no (by default) while true means yes.public Long getCrontabResumeSuspend()
public void setCrontabResumeSuspend(Long CrontabResumeSuspend)
CrontabResumeSuspend
- Scheduling policy of starting and ending the cluster: 0 (by default) indicates disabling the scheduling policy; 1 indicates enabling the scheduling policy. (Note: The scheduling policy and the automatic suspension policy are mutually exclusive.)public CrontabResumeSuspendStrategy getCrontabResumeSuspendStrategy()
public void setCrontabResumeSuspendStrategy(CrontabResumeSuspendStrategy CrontabResumeSuspendStrategy)
CrontabResumeSuspendStrategy
- Scheduling policy for the start and end; the complex type includes start and end time and the cluster suspension policy.public Long getMaxConcurrency()
public void setMaxConcurrency(Long MaxConcurrency)
MaxConcurrency
- The maximum number of concurrent tasks for a single cluster, which is 5 by default.public Long getTolerableQueueTime()
public void setTolerableQueueTime(Long TolerableQueueTime)
TolerableQueueTime
- Tolerable queuing time, and it is 0 by default. When the queuing time for tasks exceeds the tolerable time, it may trigger scale-out. If this parameter is 0, it means that scale-out may be triggered immediately once tasks start queuing.public Long getAutoSuspendTime()
public void setAutoSuspendTime(Long AutoSuspendTime)
AutoSuspendTime
- Cluster automatic suspension timepublic Boolean getElasticSwitch()
public void setElasticSwitch(Boolean ElasticSwitch)
ElasticSwitch
- Whether the AS of the spark jar monthly subscription cluster is enabledpublic Long getElasticLimit()
public void setElasticLimit(Long ElasticLimit)
ElasticLimit
- Upper limit of the spark jar monthly subscription cluster elastic scalingpublic SessionResourceTemplate getSessionResourceTemplate()
public void setSessionResourceTemplate(SessionResourceTemplate SessionResourceTemplate)
SessionResourceTemplate
- Session resource configuration template of Spark batch job clustersCopyright © 2024. All rights reserved.