Class ListWorkRequestsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.iot.requests.ListWorkRequestsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListWorkRequestsRequest,Void>
 - Enclosing class:
- ListWorkRequestsRequest
 
 public static class ListWorkRequestsRequest.Builder extends Object implements BmcRequest.Builder<ListWorkRequestsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWorkRequestsRequestbuild()Build the instance of ListWorkRequestsRequest as configured by this builderListWorkRequestsRequestbuildWithoutInvocationCallback()Build the instance of ListWorkRequestsRequest as configured by this builderListWorkRequestsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListWorkRequestsRequest.Buildercopy(ListWorkRequestsRequest o)Copy method to populate the builder with values from the given instance.ListWorkRequestsRequest.Builderid(String id)The OCID of the asynchronous work request.ListWorkRequestsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListWorkRequestsRequest.Builderlimit(Integer limit)For list pagination.ListWorkRequestsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListWorkRequestsRequest.Builderpage(String page)For list pagination: The value of the opc-next-page response header from the previous “List” call.ListWorkRequestsRequest.BuilderresourceId(String resourceId)The OCID of the resource affected by the work request.ListWorkRequestsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListWorkRequestsRequest.BuildersortBy(ListWorkRequestsRequest.SortBy sortBy)The field to sort by.ListWorkRequestsRequest.BuildersortOrder(ListWorkRequestsRequest.SortOrder sortOrder)Specifies sort order to use, either ASC (ascending) or DESC (descending).ListWorkRequestsRequest.Builderstatus(OperationStatus status)A filter to return only the resources that match the given lifecycle state.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListWorkRequestsRequest.Builder compartmentId(String compartmentId) The OCID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
idpublic ListWorkRequestsRequest.Builder id(String id) The OCID of the asynchronous work request.- Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
statuspublic ListWorkRequestsRequest.Builder status(OperationStatus status) A filter to return only the resources that match the given lifecycle state.- Parameters:
- status- the value to set
- Returns:
- this builder instance
 
 - 
resourceIdpublic ListWorkRequestsRequest.Builder resourceId(String resourceId) The OCID of the resource affected by the work request.- Parameters:
- resourceId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListWorkRequestsRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListWorkRequestsRequest.Builder page(String page) For list pagination: The value of the opc-next-page response header from the previous “List” call.For important details on how pagination works, see List Pagination. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListWorkRequestsRequest.Builder limit(Integer limit) For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination. - Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListWorkRequestsRequest.Builder sortOrder(ListWorkRequestsRequest.SortOrder sortOrder) Specifies sort order to use, either ASC (ascending) or DESC (descending).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListWorkRequestsRequest.Builder sortBy(ListWorkRequestsRequest.SortBy sortBy) The field to sort by.Only one sort order can be specified. Default order for timeAccepted is descending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListWorkRequestsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic ListWorkRequestsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic ListWorkRequestsRequest.Builder copy(ListWorkRequestsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListWorkRequestsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListWorkRequestsRequest build() Build the instance of ListWorkRequestsRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ListWorkRequestsRequest,Void>
- Returns:
- instance of ListWorkRequestsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListWorkRequestsRequest buildWithoutInvocationCallback() Build the instance of ListWorkRequestsRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListWorkRequestsRequest
 
 
- 
 
-