@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class ListProjectsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListProjectsRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListProjectsRequest.Builder |
static class |
ListProjectsRequest.SortBy
Specifies the field to sort by.
|
static class |
ListProjectsRequest.SortOrder
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
| Modifier and Type | Method and Description |
|---|---|
static ListProjectsRequest.Builder |
builder() |
String |
getCompartmentId()
Filter results by the OCID of the compartment.
|
String |
getCreatedBy()
Filter results by the OCID of the user who created the resource.
|
String |
getDisplayName()
Filter results by its user-friendly name.
|
String |
getId()
Filter results by OCID.
|
ProjectLifecycleState |
getLifecycleState()
Filter results by the specified lifecycle state.
|
Integer |
getLimit()
For list pagination.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
For list pagination.
|
ListProjectsRequest.SortBy |
getSortBy()
Specifies the field to sort by.
|
ListProjectsRequest.SortOrder |
getSortOrder()
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListProjectsRequest.Builder builder()
public String getId()
Filter results by OCID. Must be an OCID of the correct type for the resource type.
public String getDisplayName()
Filter results by its user-friendly name.
public ProjectLifecycleState getLifecycleState()
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
public String getCreatedBy()
Filter results by the OCID of the user who created the resource.
public Integer getLimit()
For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. 1 is the minimum, 1000 is the maximum. See List Pagination.
Example: `500`
public String getPage()
For list pagination. The value of the opc-next-page response
header from the previous "List" call.
See [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
public ListProjectsRequest.SortOrder getSortOrder()
Specifies sort order to use, either ASC (ascending) or DESC (descending).
public ListProjectsRequest.SortBy getSortBy()
Specifies the field to sort by. Accepts only one field.
By default, when you sort by timeCreated, results are shown
in descending order. When you sort by displayName, results are
shown in ascending order. Sort order for displayName field is case sensitive.
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.
Copyright © 2016–2021. All rights reserved.