Class ListWorkRequestsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public 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
      • workRequestId

        public ListWorkRequestsRequest.Builder workRequestId​(String workRequestId)
        The ID of the asynchronous work request.
        Parameters:
        workRequestId - the value to set
        Returns:
        this builder instance
      • status

        public ListWorkRequestsRequest.Builder status​(OperationStatus status)
        A filter to return only resources where the lifecycle state matches the given operation status.
        Parameters:
        status - the value to set
        Returns:
        this builder instance
      • resourceId

        public ListWorkRequestsRequest.Builder resourceId​(String resourceId)
        The ID of the resource affected by the work request.
        Parameters:
        resourceId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public 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
      • page

        public ListWorkRequestsRequest.Builder page​(String page)
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • sortOrder

        public ListWorkRequestsRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use.

        Use either ascending or descending.

        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • operationTypeMultiValueQuery

        public ListWorkRequestsRequest.Builder operationTypeMultiValueQuery​(List<String> operationTypeMultiValueQuery)
        A filter to return only resources where their Operation Types matches the parameter operation types
        Parameters:
        operationTypeMultiValueQuery - the value to set
        Returns:
        this builder instance
      • operationTypeMultiValueQuery

        public ListWorkRequestsRequest.Builder operationTypeMultiValueQuery​(String singularValue)
        Singular setter.

        A filter to return only resources where their Operation Types matches the parameter operation types

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • invocationCallback

        public 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
      • retryConfiguration

        public 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