@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public class ListCategoriesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListCategoriesRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListCategoriesRequest.Builder |
static class |
ListCategoriesRequest.SortBy
The field to sort by.
|
| Modifier and Type | Method and Description |
|---|---|
static ListCategoriesRequest.Builder |
builder() |
String |
getCompartmentId()
The OCID of the compartment.
|
Boolean |
getCompartmentIdInSubtree()
When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of
accessLevel. |
LifecycleState |
getLifecycleState()
A filter that returns results that match the lifecycle state specified.
|
Integer |
getLimit()
The maximum number of items to return in a paginated "List" call.
|
String |
getName()
Optional.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
The value of the
opc-next-page response header from the previous "List" call. |
ListCategoriesRequest.SortBy |
getSortBy()
The field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ascending (
ASC) or descending (DESC). |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListCategoriesRequest.Builder builder()
public String getCompartmentId()
The OCID of the compartment.
public Boolean getCompartmentIdInSubtree()
When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of accessLevel.
Can only be set to true when performing ListCompartments on the tenancy (root compartment).
public String getName()
Optional. A filter that returns results that match the name specified.
public Integer getLimit()
The maximum number of items to return in a paginated "List" call.
public String getPage()
The value of the opc-next-page response header from the previous "List" call.
public SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
public ListCategoriesRequest.SortBy getSortBy()
The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.
public LifecycleState getLifecycleState()
A filter that returns results that match the lifecycle state specified.
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.