Class DescribeUserTasksRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dcdb.v20180411.models.DescribeUserTasksRequest
-
public class DescribeUserTasksRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeUserTasksRequest()DescribeUserTasksRequest(DescribeUserTasksRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEndTime()Get 任务的结束时间Long[]getFlowTypes()Get 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务String[]getInstanceIds()Get 实例ID列表LonggetLimit()Get 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20LonggetOffset()Get 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回StringgetStartTime()Get 任务的创建时间Long[]getStatuses()Get 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败Long[]getUTaskIds()Get 任务ID的数组voidsetEndTime(String EndTime)Set 任务的结束时间voidsetFlowTypes(Long[] FlowTypes)Set 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务voidsetInstanceIds(String[] InstanceIds)Set 实例ID列表voidsetLimit(Long Limit)Set 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20voidsetOffset(Long Offset)Set 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回voidsetStartTime(String StartTime)Set 任务的创建时间voidsetStatuses(Long[] Statuses)Set 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败voidsetUTaskIds(Long[] UTaskIds)Set 任务ID的数组voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeUserTasksRequest
public DescribeUserTasksRequest()
-
DescribeUserTasksRequest
public DescribeUserTasksRequest(DescribeUserTasksRequest 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.
-
-
Method Detail
-
getStatuses
public Long[] getStatuses()
Get 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败- Returns:
- Statuses 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败
-
setStatuses
public void setStatuses(Long[] Statuses)
Set 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败- Parameters:
Statuses- 任务的状态列表。0-任务启动中;1-任务运行中;2-任务成功;3-任务失败
-
getInstanceIds
public String[] getInstanceIds()
Get 实例ID列表- Returns:
- InstanceIds 实例ID列表
-
setInstanceIds
public void setInstanceIds(String[] InstanceIds)
Set 实例ID列表- Parameters:
InstanceIds- 实例ID列表
-
getFlowTypes
public Long[] getFlowTypes()
Get 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务- Returns:
- FlowTypes 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务
-
setFlowTypes
public void setFlowTypes(Long[] FlowTypes)
Set 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务- Parameters:
FlowTypes- 任务类型列表,当前支持的任务类型有:0-回档任务;1-创建实例任务;2-扩容任务;3-迁移任务;4-删除实例任务;5-重启任务
-
getStartTime
public String getStartTime()
Get 任务的创建时间- Returns:
- StartTime 任务的创建时间
-
setStartTime
public void setStartTime(String StartTime)
Set 任务的创建时间- Parameters:
StartTime- 任务的创建时间
-
getEndTime
public String getEndTime()
Get 任务的结束时间- Returns:
- EndTime 任务的结束时间
-
setEndTime
public void setEndTime(String EndTime)
Set 任务的结束时间- Parameters:
EndTime- 任务的结束时间
-
getUTaskIds
public Long[] getUTaskIds()
Get 任务ID的数组- Returns:
- UTaskIds 任务ID的数组
-
setUTaskIds
public void setUTaskIds(Long[] UTaskIds)
Set 任务ID的数组- Parameters:
UTaskIds- 任务ID的数组
-
getLimit
public Long getLimit()
Get 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20- Returns:
- Limit 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20
-
setLimit
public void setLimit(Long Limit)
Set 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20- Parameters:
Limit- 每次最多返回多少条任务,取值范围为(0,100],不传的话默认值为20
-
getOffset
public Long getOffset()
Get 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回- Returns:
- Offset 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回
-
setOffset
public void setOffset(Long Offset)
Set 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回- Parameters:
Offset- 返回任务默认是按照创建时间降序排列,从偏移值Offset处开始返回
-
-