@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public class ListRecommendationsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListRecommendationsRequest.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListRecommendationsRequest.Builder |
static class |
ListRecommendationsRequest.SortBy
The field to sort by.
|
| Modifier and Type | Method and Description |
|---|---|
static ListRecommendationsRequest.Builder |
builder() |
String |
getCategoryId()
The unique OCID associated with the category.
|
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. |
ListRecommendationsRequest.SortBy |
getSortBy()
The field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ascending (
ASC) or descending (DESC). |
Status |
getStatus()
A filter that returns recommendations that match the status specified.
|
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfigurationpublic static ListRecommendationsRequest.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 getCategoryId()
The unique OCID associated with the category.
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 ListRecommendationsRequest.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 Status getStatus()
A filter that returns recommendations that match the status 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.