@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public class ListResourceActionsRequest extends BmcRequest<Void>
Example: Click here to see how to use ListResourceActionsRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListResourceActionsRequest.Builder |
static class |
ListResourceActionsRequest.SortBy
The field to sort by.
|
Constructor and Description |
---|
ListResourceActionsRequest() |
Modifier and Type | Method and Description |
---|---|
static ListResourceActionsRequest.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’.
|
List<String> |
getChildTenancyIds()
A list of child tenancies for which the respective data will be returned.
|
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 . |
Boolean |
getIncludeOrganization()
When set to true, the data for all child tenancies including the parent is returned.
|
Boolean |
getIncludeResourceMetadata()
Supplement additional resource information in extended metadata response.
|
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. |
String |
getRecommendationId()
The unique OCID associated with the recommendation.
|
String |
getRecommendationName()
Optional.
|
String |
getResourceType()
Optional.
|
ListResourceActionsRequest.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.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListResourceActionsRequest.Builder |
toBuilder()
Return an instance of
ListResourceActionsRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
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 getRecommendationId()
The unique OCID associated with the recommendation.
public String getRecommendationName()
Optional. A filter that returns results that match the recommendation name specified.
public List<String> getChildTenancyIds()
A list of child tenancies for which the respective data will be returned. Please note that the parent tenancy id can also be included in this list. For example, if there is a parent P with two children A and B, to return results of only parent P and child A, this list should be populated with tenancy id of parent P and child A.
If this list contains a tenancy id that isn't part of the organization of parent P, the request will fail. That is, let's say there is an organization with parent P with children A and B, and also one other tenant T that isn't part of the organization. If T is included in the list of childTenancyIds, the request will fail.
It is important to note that if you are setting the includeOrganization parameter value as true and also populating the childTenancyIds parameter with a list of child tenancies, the request will fail. The childTenancyIds and includeOrganization should be used exclusively.
When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
public Boolean getIncludeOrganization()
When set to true, the data for all child tenancies including the parent is returned. That is, if there is an organization with parent P and children A and B, to return the data for the parent P, child A and child B, this parameter value should be set to true.
Please note that this parameter shouldn't be used along with childTenancyIds parameter. If you would like to get results specifically for parent P and only child A, use the childTenancyIds parameter and populate the list with tenancy id of P and A.
When using this parameter, please make sure to set the compartmentId with the parent tenancy ID.
public String getName()
Optional. A filter that returns results that match the name specified.
public String getResourceType()
Optional. A filter that returns results that match the resource type 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 ListResourceActionsRequest.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 Boolean getIncludeResourceMetadata()
Supplement additional resource information in extended metadata response.
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 ListResourceActionsRequest.Builder toBuilder()
Return an instance of ListResourceActionsRequest.Builder
that allows you to modify request properties.
ListResourceActionsRequest.Builder
that allows you to modify request properties.public static ListResourceActionsRequest.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.