public class TaskConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
TaskConfig()  | 
TaskConfig(TaskConfig 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 | 
getPolicyDealType()
Get Guardrail processing method. 
 | 
TagWithCreate[] | 
getTags()
Get Experiment tag. 
 | 
String | 
getTaskDescription()
Get Experiment description after change. 
 | 
TaskGroupConfig[] | 
getTaskGroupsConfig()
Get Action group configurations. 
 | 
Long | 
getTaskMode()
Get Experiment execution mode. 
 | 
Long | 
getTaskPauseDuration()
Get Automatic pause time of the experiment, in minutes. 
 | 
String | 
getTaskTitle()
Get Experiment name after change. 
 | 
void | 
setPolicyDealType(Long PolicyDealType)
Set Guardrail processing method. 
 | 
void | 
setTags(TagWithCreate[] Tags)
Set Experiment tag. 
 | 
void | 
setTaskDescription(String TaskDescription)
Set Experiment description after change. 
 | 
void | 
setTaskGroupsConfig(TaskGroupConfig[] TaskGroupsConfig)
Set Action group configurations. 
 | 
void | 
setTaskMode(Long TaskMode)
Set Experiment execution mode. 
 | 
void | 
setTaskPauseDuration(Long TaskPauseDuration)
Set Automatic pause time of the experiment, in minutes. 
 | 
void | 
setTaskTitle(String TaskTitle)
Set Experiment name after change. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TaskConfig()
public TaskConfig(TaskConfig source)
public TaskGroupConfig[] getTaskGroupsConfig()
public void setTaskGroupsConfig(TaskGroupConfig[] TaskGroupsConfig)
TaskGroupsConfig - Action group configurations. The number of configured action groups needs to be consistent with that in the template.public String getTaskTitle()
public void setTaskTitle(String TaskTitle)
TaskTitle - Experiment name after change. If this parameter is left blank, the template name is used by default.public String getTaskDescription()
public void setTaskDescription(String TaskDescription)
TaskDescription - Experiment description after change. If this parameter is left blank, the template description is used by default.public Long getTaskMode()
public void setTaskMode(Long TaskMode)
TaskMode - Experiment execution mode. 1: manual execution; 2: automatic execution. If this parameter is left blank, the template execution mode is used by default.public Long getTaskPauseDuration()
public void setTaskPauseDuration(Long TaskPauseDuration)
TaskPauseDuration - Automatic pause time of the experiment, in minutes. If this parameter is left blank, the automatic pause time of the template is used by default.public TagWithCreate[] getTags()
public void setTags(TagWithCreate[] Tags)
Tags - Experiment tag. If this parameter is left blank, the template tag is used by default.public Long getPolicyDealType()
public void setPolicyDealType(Long PolicyDealType)
PolicyDealType - Guardrail processing method. 1: roll back sequentially; 2: pause experiment.Copyright © 2025. All rights reserved.