public class DescribeTasksRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endTime
The end point of the time period for which to query created tasks.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
pageNumber
The number of the page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
String |
regionId
The region ID of the task.
|
List<String> |
resourceIds
The ID of resource N that is associated with the task.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
startTime
The start point of the time period for which to query created tasks.
|
String |
taskAction
The name of the operation that generates the task.
|
String |
taskIds
The ID of the task.
|
String |
taskStatus
The state of the task.
|
构造器和说明 |
---|
DescribeTasksRequest() |
@NameInMap(value="EndTime") public String endTime
The end point of the time period for which to query created tasks. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
example:2020-11-23T15:16:00Z
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PageNumber") public Integer pageNumber
The number of the page to return.
Page start from page 1.
Default value: 1.
example:1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page.
Maximum value: 100.
Default value: 10.
example:10
@NameInMap(value="RegionId") public String regionId
The region ID of the task. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceIds") public List<String> resourceIds
The ID of resource N that is associated with the task. Valid values of N: 1 to 100.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="StartTime") public String startTime
The start point of the time period for which to query created tasks. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
example:2020-11-23T15:10:00Z
@NameInMap(value="TaskAction") public String taskAction
The name of the operation that generates the task. Valid values:
ImportImage
@NameInMap(value="TaskIds") public String taskIds
The ID of the task. You can specify up to 100 task IDs at a time. Separate the task IDs with commas (,).
example:t-bp1hvgwromzv32iq****,t-bp179lofu2pv768w****
@NameInMap(value="TaskStatus") public String taskStatus
The state of the task. Valid values:
This parameter is empty by default.
example:The system only retrieves tasks in the Finished, Processing, and Failed states and ignores other values.
Finished
public static DescribeTasksRequest build(Map<String,?> map) throws Exception
Exception
public DescribeTasksRequest setEndTime(String endTime)
public String getEndTime()
public DescribeTasksRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeTasksRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeTasksRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeTasksRequest setPageSize(Integer pageSize)
public Integer getPageSize()
public DescribeTasksRequest setRegionId(String regionId)
public String getRegionId()
public DescribeTasksRequest setResourceIds(List<String> resourceIds)
public DescribeTasksRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeTasksRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeTasksRequest setStartTime(String startTime)
public String getStartTime()
public DescribeTasksRequest setTaskAction(String taskAction)
public String getTaskAction()
public DescribeTasksRequest setTaskIds(String taskIds)
public String getTaskIds()
public DescribeTasksRequest setTaskStatus(String taskStatus)
public String getTaskStatus()
Copyright © 2024. All rights reserved.