public static class ListResourceActionsRequest.Builder extends Object implements BmcRequest.Builder<ListResourceActionsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListResourceActionsRequest |
build()
Build the instance of ListResourceActionsRequest as configured by this builder
|
ListResourceActionsRequest |
buildWithoutInvocationCallback() |
ListResourceActionsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment.
|
ListResourceActionsRequest.Builder |
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
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 . |
ListResourceActionsRequest.Builder |
copy(ListResourceActionsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListResourceActionsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListResourceActionsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter that returns results that match the lifecycle state specified.
|
ListResourceActionsRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListResourceActionsRequest.Builder |
name(String name)
Optional.
|
ListResourceActionsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListResourceActionsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListResourceActionsRequest.Builder |
recommendationId(String recommendationId)
The unique OCID associated with the recommendation.
|
ListResourceActionsRequest.Builder |
resourceType(String resourceType)
Optional.
|
ListResourceActionsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListResourceActionsRequest.Builder |
sortBy(ListResourceActionsRequest.SortBy sortBy)
The field to sort by.
|
ListResourceActionsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListResourceActionsRequest.Builder |
status(Status status)
A filter that returns recommendations that match the status specified.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListResourceActionsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListResourceActionsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListResourceActionsRequest.Builder copy(ListResourceActionsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListResourceActionsRequest,Void>
o
- other request from which to copy valuespublic ListResourceActionsRequest build()
Build the instance of ListResourceActionsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListResourceActionsRequest,Void>
public ListResourceActionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public ListResourceActionsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
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).
this
.public ListResourceActionsRequest.Builder recommendationId(String recommendationId)
The unique OCID associated with the recommendation.
this
.public ListResourceActionsRequest.Builder name(String name)
Optional. A filter that returns results that match the name specified.
this
.public ListResourceActionsRequest.Builder resourceType(String resourceType)
Optional. A filter that returns results that match the resource type specified.
this
.public ListResourceActionsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
this
.public ListResourceActionsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
this
.public ListResourceActionsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListResourceActionsRequest.Builder sortBy(ListResourceActionsRequest.SortBy sortBy)
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.
this
.public ListResourceActionsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter that returns results that match the lifecycle state specified.
this
.public ListResourceActionsRequest.Builder status(Status status)
A filter that returns recommendations that match the status specified.
this
.public ListResourceActionsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
this
.public ListResourceActionsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.