public class ListInstancesRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ListInstancesRequest() |
ListInstancesRequest(ListInstancesRequest 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[] |
getExecutorGroupIdList()
Get Execution resource group Id.
|
String[] |
getInChargeList()
Get Task owner.
|
Long[] |
getInstanceStateList()
Get Instance execution status.
|
Long |
getInstanceType()
Get Instance type.
|
String |
getKeyword()
Get Task name or task ID.
|
Long |
getPageNumber()
Get Page number, integer.
|
Long |
getPageSize()
Get Number of items per page, integer.
|
String |
getProjectId()
Get **Project ID**.
|
String |
getScheduleTimeFrom()
Get Filter criteria for instance planned scheduling time.
|
String |
getScheduleTimeTo()
Get Filter criteria for instance planned scheduling time.
|
String |
getScheduleTimeZone()
Get Time zone.
|
String |
getSortColumn()
Get Sorting field for query results.
|
String |
getSortType()
Get Instance sorting order.
|
String |
getStartTimeFrom()
Get Instance execution start time filter criteria.
|
String |
getStartTimeTo()
Get Instance execution start time filter criteria.
|
String[] |
getTaskCycleList()
Get Task cycle type.
|
String[] |
getTaskFolderIdList()
Get File to which the task belongs.
|
Long[] |
getTaskTypeIdList()
Get **Task type Id** specifies the identifier for the task type.
|
String[] |
getWorkflowIdList()
Get **Associated workflow of the task**.
|
void |
setExecutorGroupIdList(String[] ExecutorGroupIdList)
Set Execution resource group Id.
|
void |
setInChargeList(String[] InChargeList)
Set Task owner.
|
void |
setInstanceStateList(Long[] InstanceStateList)
Set Instance execution status.
|
void |
setInstanceType(Long InstanceType)
Set Instance type.
|
void |
setKeyword(String Keyword)
Set Task name or task ID.
|
void |
setPageNumber(Long PageNumber)
Set Page number, integer.
|
void |
setPageSize(Long PageSize)
Set Number of items per page, integer.
|
void |
setProjectId(String ProjectId)
Set **Project ID**.
|
void |
setScheduleTimeFrom(String ScheduleTimeFrom)
Set Filter criteria for instance planned scheduling time.
|
void |
setScheduleTimeTo(String ScheduleTimeTo)
Set Filter criteria for instance planned scheduling time.
|
void |
setScheduleTimeZone(String ScheduleTimeZone)
Set Time zone.
|
void |
setSortColumn(String SortColumn)
Set Sorting field for query results.
|
void |
setSortType(String SortType)
Set Instance sorting order.
|
void |
setStartTimeFrom(String StartTimeFrom)
Set Instance execution start time filter criteria.
|
void |
setStartTimeTo(String StartTimeTo)
Set Instance execution start time filter criteria.
|
void |
setTaskCycleList(String[] TaskCycleList)
Set Task cycle type.
|
void |
setTaskFolderIdList(String[] TaskFolderIdList)
Set File to which the task belongs.
|
void |
setTaskTypeIdList(Long[] TaskTypeIdList)
Set **Task type Id** specifies the identifier for the task type.
|
void |
setWorkflowIdList(String[] WorkflowIdList)
Set **Associated workflow of the task**.
|
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 ListInstancesRequest()
public ListInstancesRequest(ListInstancesRequest source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - **Project ID**.public String getScheduleTimeFrom()
public void setScheduleTimeFrom(String ScheduleTimeFrom)
ScheduleTimeFrom - Filter criteria for instance planned scheduling time.
Specifies the start time for filtering. the time format is yyyy-MM-dd HH:MM:ss.public String getScheduleTimeTo()
public void setScheduleTimeTo(String ScheduleTimeTo)
ScheduleTimeTo - Filter criteria for instance planned scheduling time.
Filter expiration time. the time format is yyyy-MM-dd HH:MM:ss.public Long getPageNumber()
public void setPageNumber(Long PageNumber)
PageNumber - Page number, integer.
Use in conjunction with pageSize and cannot be less than 1. the default value is 1.public Long getPageSize()
public void setPageSize(Long PageSize)
PageSize - Number of items per page, integer.
Use in conjunction with pageNumber and should not exceed 200. default value: 10.public String getSortColumn()
public void setSortColumn(String SortColumn)
SortColumn - Sorting field for query results.
-SCHEDULE_DATE indicates sorting based on the planned scheduling time.
-START_TIME indicates sorting by the instance's start execution time.
-END_TIME indicates sorting based on the instance execution end time.
-COST_TIME indicates sorting based on instance execution duration.public String getSortType()
public void setSortType(String SortType)
SortType - Instance sorting order.
- ASC
- DESCpublic Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType - Instance type.
-0 indicates Replenished Instance.
-1 indicates Periodic Instance.
-2 indicates Non-Periodic instance.public Long[] getInstanceStateList()
public void setInstanceStateList(Long[] InstanceStateList)
InstanceStateList - Instance execution status.
Support filtering multiple items with an "or" relationship between conditions.
-[0] Indicates waiting for event.
-[12] indicates waiting for upstream.
-[6, 7, 9, 10, 18] indicates awaiting execution.
-[1, 19, 22] indicate running.
-[21] indicates skipping running.
-[3] indicates retry on failure.
-[8, 4, 5, 13] indicates a failure.
-[2] indicates a success.public Long[] getTaskTypeIdList()
public void setTaskTypeIdList(Long[] TaskTypeIdList)
TaskTypeIdList - **Task type Id** specifies the identifier for the task type.
-Supports filtering multiple items with an or relationship between conditions.
-You can use the DescribeAllTaskType API to obtain all task types supported by the project.public String[] getTaskCycleList()
public void setTaskCycleList(String[] TaskCycleList)
TaskCycleList - Task cycle type.
Supports filtering multiple conditions with an or relationship between them.
O: ONEOFF_CYCLE
Y: YEAR_CYCLE
M: MONTH_CYCLE
W: WEEK_CYCLE
D: DAY_CYCLE
H: HOUR_CYCLE
I: MINUTE_CYCLE
C: CRONTAB_CYCLEpublic String getKeyword()
public void setKeyword(String Keyword)
Keyword - Task name or task ID.
Supports fuzzy search filtering. multiple items are separated by english commas.public String[] getInChargeList()
public void setInChargeList(String[] InChargeList)
InChargeList - Task owner.
Support filtering multiple items with an or relationship between conditions.public String[] getTaskFolderIdList()
public void setTaskFolderIdList(String[] TaskFolderIdList)
TaskFolderIdList - File to which the task belongs.
Supports filtering multiple conditions with an or relationship between them.
The FindAllFolder API can be used to obtain the folder list under a project.public String[] getWorkflowIdList()
public void setWorkflowIdList(String[] WorkflowIdList)
WorkflowIdList - **Associated workflow of the task**.
Supports filtering multiple conditions with an or relationship between them.
The workflow list under a project can be obtained through the DescribeOpsWorkflows api.public String[] getExecutorGroupIdList()
public void setExecutorGroupIdList(String[] ExecutorGroupIdList)
ExecutorGroupIdList - Execution resource group Id.
Supports filtering multiple conditions with an or relationship between them.
The scheduling resource group list under the project can be obtained through the DescribeNormalSchedulerExecutorGroups api.
The DescribeNormalIntegrationExecutorGroups API can be used to obtain the list of all integration resource groups under a project.public String getStartTimeFrom()
public void setStartTimeFrom(String StartTimeFrom)
StartTimeFrom - Instance execution start time filter criteria.
Specifies the start time for filtering. the time format is yyyy-MM-dd HH:MM:ss.public String getStartTimeTo()
public void setStartTimeTo(String StartTimeTo)
StartTimeTo - Instance execution start time filter criteria.
Filter expiration time. the time format is yyyy-MM-dd HH:MM:ss.public String getScheduleTimeZone()
public void setScheduleTimeZone(String ScheduleTimeZone)
ScheduleTimeZone - Time zone.
Time zone. specifies the time zone. the default value is UTC+8.Copyright © 2025. All rights reserved.