Class DescribeJobsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.batch.v20170312.models.DescribeJobsRequest
-
public class DescribeJobsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeJobsRequest()DescribeJobsRequest(DescribeJobsRequest 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 Filter[]getFilters()Get 过滤条件 job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。 job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。 job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。 zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。 tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 与JobIds参数不能同时指定。String[]getJobIds()Get 作业ID列表,与Filters参数不能同时指定。LonggetLimit()Get 返回数量LonggetOffset()Get 偏移量voidsetFilters(Filter[] Filters)Set 过滤条件 job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。 job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。 job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。 zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。 tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。 tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。 tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。 与JobIds参数不能同时指定。voidsetJobIds(String[] JobIds)Set 作业ID列表,与Filters参数不能同时指定。voidsetLimit(Long Limit)Set 返回数量voidsetOffset(Long Offset)Set 偏移量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
-
DescribeJobsRequest
public DescribeJobsRequest()
-
DescribeJobsRequest
public DescribeJobsRequest(DescribeJobsRequest 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
-
getJobIds
public String[] getJobIds()
Get 作业ID列表,与Filters参数不能同时指定。- Returns:
- JobIds 作业ID列表,与Filters参数不能同时指定。
-
setJobIds
public void setJobIds(String[] JobIds)
Set 作业ID列表,与Filters参数不能同时指定。- Parameters:
JobIds- 作业ID列表,与Filters参数不能同时指定。
-
getFilters
public Filter[] getFilters()
Get 过滤条件- job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。
- job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。
- job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。
- zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
与JobIds参数不能同时指定。- Returns:
- Filters 过滤条件
- job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。
- job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。
- job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。
- zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
与JobIds参数不能同时指定。
-
setFilters
public void setFilters(Filter[] Filters)
Set 过滤条件- job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。
- job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。
- job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。
- zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
与JobIds参数不能同时指定。- Parameters:
Filters- 过滤条件- job-id - String - 是否必填:否 -(过滤条件)按照作业ID过滤。
- job-name - String - 是否必填:否 -(过滤条件)按照作业名称过滤。
- job-state - String - 是否必填:否 -(过滤条件)按照作业状态过滤。
- zone - String - 是否必填:否 -(过滤条件)按照可用区过滤。
- tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
- tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
- tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
与JobIds参数不能同时指定。
-
getOffset
public Long getOffset()
Get 偏移量- Returns:
- Offset 偏移量
-
setOffset
public void setOffset(Long Offset)
Set 偏移量- Parameters:
Offset- 偏移量
-
getLimit
public Long getLimit()
Get 返回数量- Returns:
- Limit 返回数量
-
setLimit
public void setLimit(Long Limit)
Set 返回数量- Parameters:
Limit- 返回数量
-
-