@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public class ListWorkspacesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListWorkspacesRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListWorkspacesRequest.Builder |
static class |
ListWorkspacesRequest.LifecycleState
The lifecycle state of a resource.
|
static class |
ListWorkspacesRequest.SortBy
Specifies the field to sort by.
|
static class |
ListWorkspacesRequest.SortOrder
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
| Modifier and Type | Method and Description |
|---|---|
static ListWorkspacesRequest.Builder |
builder() |
String |
getCompartmentId()
The OCID of the compartment containing the resources you want to list.
|
ListWorkspacesRequest.LifecycleState |
getLifecycleState()
The lifecycle state of a resource.
|
Integer |
getLimit()
Sets the maximum number of results per page, or items to return in a paginated
List call. |
String |
getName()
Used to filter by the name of the object.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
For list pagination.
|
ListWorkspacesRequest.SortBy |
getSortBy()
Specifies the field to sort by.
|
ListWorkspacesRequest.SortOrder |
getSortOrder()
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListWorkspacesRequest.Builder builder()
public String getCompartmentId()
The OCID of the compartment containing the resources you want to list.
public String getName()
Used to filter by the name of the object.
public Integer getLimit()
Sets the maximum number of results per page, or items to return in a paginated List call. See List Pagination.
public String getPage()
For list pagination. The value for this parameter is the opc-next-page or the opc-prev-page response header from the previous List call. See List Pagination.
public ListWorkspacesRequest.LifecycleState getLifecycleState()
The lifecycle state of a resource. When specified, the operation only returns resources that match the given lifecycle state. When not specified, all lifecycle states are processed as a match.
public ListWorkspacesRequest.SortOrder getSortOrder()
Specifies sort order to use, either ASC (ascending) or DESC (descending).
public ListWorkspacesRequest.SortBy getSortBy()
Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter query is present (search operation and sorting order is by relevance score in descending order).
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.