@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.SortBy
Specifies the field to sort by.
|
static class |
ListWorkspacesRequest.SortOrder
Specifies sort order to use, either
ASC (ascending) or DESC (descending). |
Constructor and Description |
---|
ListWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
static ListWorkspacesRequest.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 OCID of the compartment containing the resources you want to list.
|
Workspace.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). |
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListWorkspacesRequest.Builder |
toBuilder()
Return an instance of
ListWorkspacesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
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 Workspace.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.
public ListWorkspacesRequest.Builder toBuilder()
Return an instance of ListWorkspacesRequest.Builder
that allows you to modify request properties.
ListWorkspacesRequest.Builder
that allows you to modify request properties.public static ListWorkspacesRequest.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.