Class ListBatchTasksRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListBatchTasksRequest.Builder compartmentId​(String compartmentId)
        The OCID of the compartment in which to list resources.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListBatchTasksRequest.Builder lifecycleState​(BatchTask.LifecycleState lifecycleState)
        A filter to return only resources that match the given lifecycle state.

        The state value is case-insensitive.

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • name

        public ListBatchTasksRequest.Builder name​(String name)
        The hierarchical name of the batch task.

        Mutually exclusive with the task id query parameter: you can’t pass both.

        Parameters:
        name - the value to set
        Returns:
        this builder instance
      • taskId

        public ListBatchTasksRequest.Builder taskId​(String taskId)
        The UUID of the batch task.

        Mutually exclusive with the task name and group task name query parameters: you can’t pass both.

        Parameters:
        taskId - the value to set
        Returns:
        this builder instance
      • limit

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

        public ListBatchTasksRequest.Builder page​(String page)
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

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

        public ListBatchTasksRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use, either ascending (ASC) or descending (DESC).
        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListBatchTasksRequest.Builder sortBy​(BatchTaskSortBy sortBy)
        The field to sort by.

        You can provide only one sort order. Default order for name is ascending.

        Parameters:
        sortBy - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListBatchTasksRequest.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. The only valid characters for request IDs are letters, numbers, underscore, and dash.

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

        public ListBatchTasksRequest.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 ListBatchTasksRequest.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