public class Task extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Task() |
Task(Task 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 |
|---|---|
String[] |
getAlarmPolicy()
Get Associated alarm metrics
Note: This field may return null, indicating that no valid values can be obtained.
|
ApmServiceInfo[] |
getApmServiceList()
Get Associated APM services
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getApplicationId()
Get ID of the associated application
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getApplicationName()
Get Name of the associated application
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getPolicyDealType()
Get Guardrail processing method.
|
TagWithDescribe[] |
getTags()
Get Tag list
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskCreateTime()
Get Task creation time
|
String |
getTaskDescription()
Get Task description
|
String |
getTaskEndTime()
Get End time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getTaskExpect()
Get Whether expectations are met.
|
TaskGroup[] |
getTaskGroups()
Get Task action group
|
Long |
getTaskId()
Get Task ID
|
Long |
getTaskMode()
Get Task mode.
|
TaskMonitor[] |
getTaskMonitors()
Get Monitoring metric list
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskOwnerUin()
Get Main account that creates the experiment
|
Long |
getTaskPauseDuration()
Get Automatic pause duration.
|
Long |
getTaskPlanId()
Get ID of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskPlanTitle()
Get Name of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.
|
DescribePolicy |
getTaskPolicy()
Get Protection policy
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskProtectStrategy()
Get Protection policy
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getTaskRegionId()
Get Region ID
|
String |
getTaskStartTime()
Get Start time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getTaskStatus()
Get Task status.
|
Long |
getTaskStatusType()
Get Task end status, indicating the status of the task when it ends.
|
String |
getTaskSummary()
Get Experiment record
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskTag()
Get Custom tag
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskTitle()
Get Task name
|
String |
getTaskUpdateTime()
Get Task update time
|
Long |
getVerifyId()
Get ID of the associated threat verification item
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAlarmPolicy(String[] AlarmPolicy)
Set Associated alarm metrics
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setApmServiceList(ApmServiceInfo[] ApmServiceList)
Set Associated APM services
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setApplicationId(String ApplicationId)
Set ID of the associated application
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setApplicationName(String ApplicationName)
Set Name of the associated application
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPolicyDealType(Long PolicyDealType)
Set Guardrail processing method.
|
void |
setTags(TagWithDescribe[] Tags)
Set Tag list
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskCreateTime(String TaskCreateTime)
Set Task creation time
|
void |
setTaskDescription(String TaskDescription)
Set Task description
|
void |
setTaskEndTime(String TaskEndTime)
Set End time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskExpect(Long TaskExpect)
Set Whether expectations are met.
|
void |
setTaskGroups(TaskGroup[] TaskGroups)
Set Task action group
|
void |
setTaskId(Long TaskId)
Set Task ID
|
void |
setTaskMode(Long TaskMode)
Set Task mode.
|
void |
setTaskMonitors(TaskMonitor[] TaskMonitors)
Set Monitoring metric list
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskOwnerUin(String TaskOwnerUin)
Set Main account that creates the experiment
|
void |
setTaskPauseDuration(Long TaskPauseDuration)
Set Automatic pause duration.
|
void |
setTaskPlanId(Long TaskPlanId)
Set ID of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskPlanTitle(String TaskPlanTitle)
Set Name of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskPolicy(DescribePolicy TaskPolicy)
Set Protection policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskProtectStrategy(String TaskProtectStrategy)
Set Protection policy
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskRegionId(Long TaskRegionId)
Set Region ID
|
void |
setTaskStartTime(String TaskStartTime)
Set Start time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskStatus(Long TaskStatus)
Set Task status.
|
void |
setTaskStatusType(Long TaskStatusType)
Set Task end status, indicating the status of the task when it ends.
|
void |
setTaskSummary(String TaskSummary)
Set Experiment record
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskTag(String TaskTag)
Set Custom tag
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskTitle(String TaskTitle)
Set Task name
|
void |
setTaskUpdateTime(String TaskUpdateTime)
Set Task update time
|
void |
setVerifyId(Long VerifyId)
Set ID of the associated threat verification item
Note: This field may return null, indicating that no valid values can be obtained.
|
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, toJsonStringpublic Task()
public Task(Task source)
public Long getTaskId()
public void setTaskId(Long TaskId)
TaskId - Task IDpublic String getTaskTitle()
public void setTaskTitle(String TaskTitle)
TaskTitle - Task namepublic String getTaskDescription()
public void setTaskDescription(String TaskDescription)
TaskDescription - Task descriptionpublic String getTaskTag()
public void setTaskTag(String TaskTag)
TaskTag - Custom tag
Note: This field may return null, indicating that no valid values can be obtained.public Long getTaskStatus()
public void setTaskStatus(Long TaskStatus)
TaskStatus - Task status. 1001: not started; 1002: in progress (executing); 1003: in progress (paused); 1004: execution ended.
Note: This field may return null, indicating that no valid values can be obtained.public Long getTaskStatusType()
public void setTaskStatusType(Long TaskStatusType)
TaskStatusType - Task end status, indicating the status of the task when it ends. 0: not ended; 1: successful; 2: failed; 3: terminated.public String getTaskProtectStrategy()
public void setTaskProtectStrategy(String TaskProtectStrategy)
TaskProtectStrategy - Protection policy
Note: This field may return null, indicating that no valid values can be obtained.public String getTaskCreateTime()
public void setTaskCreateTime(String TaskCreateTime)
TaskCreateTime - Task creation timepublic String getTaskUpdateTime()
public void setTaskUpdateTime(String TaskUpdateTime)
TaskUpdateTime - Task update timepublic TaskGroup[] getTaskGroups()
public void setTaskGroups(TaskGroup[] TaskGroups)
TaskGroups - Task action grouppublic String getTaskStartTime()
public void setTaskStartTime(String TaskStartTime)
TaskStartTime - Start time
Note: This field may return null, indicating that no valid values can be obtained.public String getTaskEndTime()
public void setTaskEndTime(String TaskEndTime)
TaskEndTime - End time
Note: This field may return null, indicating that no valid values can be obtained.public Long getTaskExpect()
public void setTaskExpect(Long TaskExpect)
TaskExpect - Whether expectations are met. 1: expectations met; 2: expectations not met.
Note: This field may return null, indicating that no valid values can be obtained.public String getTaskSummary()
public void setTaskSummary(String TaskSummary)
TaskSummary - Experiment record
Note: This field may return null, indicating that no valid values can be obtained.public Long getTaskMode()
public void setTaskMode(Long TaskMode)
TaskMode - Task mode. 1: manual execution; 2: automatic execution.public Long getTaskPauseDuration()
public void setTaskPauseDuration(Long TaskPauseDuration)
TaskPauseDuration - Automatic pause duration. Unit: minutes.public String getTaskOwnerUin()
public void setTaskOwnerUin(String TaskOwnerUin)
TaskOwnerUin - Main account that creates the experimentpublic Long getTaskRegionId()
public void setTaskRegionId(Long TaskRegionId)
TaskRegionId - Region IDpublic TaskMonitor[] getTaskMonitors()
public void setTaskMonitors(TaskMonitor[] TaskMonitors)
TaskMonitors - Monitoring metric list
Note: This field may return null, indicating that no valid values can be obtained.public DescribePolicy getTaskPolicy()
public void setTaskPolicy(DescribePolicy TaskPolicy)
TaskPolicy - Protection policy
Note: This field may return null, indicating that no valid values can be obtained.public TagWithDescribe[] getTags()
public void setTags(TagWithDescribe[] Tags)
Tags - Tag list
Note: This field may return null, indicating that no valid values can be obtained.public Long getTaskPlanId()
public void setTaskPlanId(Long TaskPlanId)
TaskPlanId - ID of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.public String getTaskPlanTitle()
public void setTaskPlanTitle(String TaskPlanTitle)
TaskPlanTitle - Name of the associated experiment plan
Note: This field may return null, indicating that no valid values can be obtained.public String getApplicationId()
public void setApplicationId(String ApplicationId)
ApplicationId - ID of the associated application
Note: This field may return null, indicating that no valid values can be obtained.public String getApplicationName()
public void setApplicationName(String ApplicationName)
ApplicationName - Name of the associated application
Note: This field may return null, indicating that no valid values can be obtained.public String[] getAlarmPolicy()
public void setAlarmPolicy(String[] AlarmPolicy)
AlarmPolicy - Associated alarm metrics
Note: This field may return null, indicating that no valid values can be obtained.public ApmServiceInfo[] getApmServiceList()
public void setApmServiceList(ApmServiceInfo[] ApmServiceList)
ApmServiceList - Associated APM services
Note: This field may return null, indicating that no valid values can be obtained.public Long getVerifyId()
public void setVerifyId(Long VerifyId)
VerifyId - ID of the associated threat verification item
Note: This field may return null, indicating that no valid values can be obtained.public Long getPolicyDealType()
public void setPolicyDealType(Long PolicyDealType)
PolicyDealType - Guardrail processing method. 1: roll back sequentially; 2: pause experiment.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.