@Generated(value="OracleSDKGenerator", comments="API Version: 20180917") public class ListJobsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListJobsRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListJobsRequest.Builder |
static class |
ListJobsRequest.SortBy
The field to use when sorting returned resources.
|
static class |
ListJobsRequest.SortOrder
The sort order to use when sorting returned resources.
|
| Modifier and Type | Method and Description |
|---|---|
static ListJobsRequest.Builder |
builder() |
String |
getCompartmentId()
A filter to return only resources that exist in the compartment, identified by OCID.
|
String |
getDisplayName()
A filter to return only resources that match the specified display name.
|
String |
getId()
The OCID on which to query for jobs.
|
Job.LifecycleState |
getLifecycleState()
A filter that returns all resources that match the specified lifecycle state.
|
Integer |
getLimit()
The number of items returned in a paginated
List call. |
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
The value of the
opc-next-page response header from the preceding List call. |
ListJobsRequest.SortBy |
getSortBy()
The field to use when sorting returned resources.
|
ListJobsRequest.SortOrder |
getSortOrder()
The sort order to use when sorting returned resources.
|
String |
getStackId()
The stack OCID on which to filter.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListJobsRequest.Builder builder()
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
public String getCompartmentId()
A filter to return only resources that exist in the compartment, identified by OCID.
public Job.LifecycleState getLifecycleState()
A filter that returns all resources that match the specified lifecycle state. The state value is case-insensitive.
Allowable values: - ACCEPTED - IN_PROGRESS - FAILED - SUCCEEDED - CANCELING - CANCELED
public String getDisplayName()
A filter to return only resources that match the specified display name.
public ListJobsRequest.SortBy getSortBy()
The field to use when sorting returned resources.
By default, TIMECREATED is ordered descending.
By default, DISPLAYNAME is ordered ascending. Note that you can sort only on one field.
public ListJobsRequest.SortOrder getSortOrder()
The sort order to use when sorting returned resources. Ascending (ASC) or descending (DESC).
public Integer getLimit()
The number of items returned in a paginated List call. For information about pagination, see
List Pagination.
public String getPage()
The value of the opc-next-page response header from the preceding List call.
For information about pagination, see List Pagination.
Copyright © 2016–2021. All rights reserved.