@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") 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.
|
Constructor and Description |
---|
ListProjectsRequest() |
Modifier and Type | Method and Description |
---|---|
static ListProjectsRequest.Builder |
builder()
Return a new builder for this request object.
|
boolean |
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal
to ‘this’.
|
String |
getCompartmentId()
The ID of the compartment in which to list resources.
|
String |
getDisplayName()
A filter to return only resources that match the entire display name given.
|
Project.LifecycleState |
getLifecycleState()
Filter results by the specified lifecycle state.
|
Integer |
getLimit()
The maximum number of items to return.
|
String |
getOpcRequestId()
The client request ID for tracing.
|
String |
getPage()
The page token representing the page at which to start retrieving results.
|
String |
getProjectId()
The ID of the project for which to list the objects.
|
ListProjectsRequest.SortBy |
getSortBy()
Specifies the field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListProjectsRequest.Builder |
toBuilder()
Return an instance of
ListProjectsRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The ID of the compartment in which to list resources.
public Project.LifecycleState getLifecycleState()
Filter results by the specified lifecycle state. Must be a valid state for the resource type.
public String getDisplayName()
A filter to return only resources that match the entire display name given.
public Integer getLimit()
The maximum number of items to return.
public String getPage()
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
public String getProjectId()
The ID of the project for which to list the objects.
public SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
public ListProjectsRequest.SortBy getSortBy()
Specifies the field to sort by. Accepts only one field. By default, when you sort by timeCreated
, the results are shown in descending order. When you sort by displayName
, the results are shown in ascending order. Sort order for the displayName
field is case sensitive.
public String getOpcRequestId()
The client request ID for tracing.
public ListProjectsRequest.Builder toBuilder()
Return an instance of ListProjectsRequest.Builder
that allows you to modify request properties.
ListProjectsRequest.Builder
that allows you to modify request properties.public static ListProjectsRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2024. All rights reserved.