public static final class ListJobsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListJobsRequest.Builder |
appName(String appName)
The name of the job template.
|
ListJobsRequest |
build() |
ListJobsRequest.Builder |
currentPage(Integer currentPage)
The number of the page to return.
|
ListJobsRequest.Builder |
fieldType(String fieldType)
The dimension by which applications are filtered.
|
ListJobsRequest.Builder |
fieldValue(String fieldValue)
Enter the name and ID of the job template.
|
ListJobsRequest.Builder |
namespaceId(String namespaceId)
The namespace ID.
|
ListJobsRequest.Builder |
orderBy(String orderBy)
Specifies how applications are sorted.
|
ListJobsRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
ListJobsRequest.Builder |
reverse(Boolean reverse)
Specifies whether to sort the field names that are passed by OrderBy in ascending order.
|
ListJobsRequest.Builder |
tags(String tags)
The tags that are displayed in a JSON string.
|
ListJobsRequest.Builder |
workload(String workload)
Set the value to
job. |
public ListJobsRequest.Builder appName(String appName)
The name of the job template.
example:demo-app
public ListJobsRequest.Builder currentPage(Integer currentPage)
The number of the page to return. The parameter value is a positive integer that is greater than or equal to 1.
example:1
public ListJobsRequest.Builder fieldType(String fieldType)
The dimension by which applications are filtered. Valid values:
appName
public ListJobsRequest.Builder fieldValue(String fieldValue)
Enter the name and ID of the job template.
example:demo-app
public ListJobsRequest.Builder namespaceId(String namespaceId)
The namespace ID.
example:cn-beijing:demo
public ListJobsRequest.Builder orderBy(String orderBy)
Specifies how applications are sorted. Valid values:
running
public ListJobsRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Valid value: 0 to 200.
example:20
public ListJobsRequest.Builder reverse(Boolean reverse)
Specifies whether to sort the field names that are passed by OrderBy in ascending order. Valid values:
true
public ListJobsRequest.Builder tags(String tags)
The tags that are displayed in a JSON string. Valid values:
[{"key":"key","value":"value"}]
public ListJobsRequest.Builder workload(String workload)
Set the value to job.
job
public ListJobsRequest build()
Copyright © 2026. All rights reserved.