Class ListLogsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • logGroupId

        public ListLogsRequest.Builder logGroupId​(String logGroupId)
        OCID of a log group to work with.
        Parameters:
        logGroupId - the value to set
        Returns:
        this builder instance
      • sourceService

        public ListLogsRequest.Builder sourceService​(String sourceService)
        Service that created the log object, which is a field of LogSummary.Configuration.Source.
        Parameters:
        sourceService - the value to set
        Returns:
        this builder instance
      • sourceResource

        public ListLogsRequest.Builder sourceResource​(String sourceResource)
        Log object resource, which is a field of LogSummary.Configuration.Source.
        Parameters:
        sourceResource - the value to set
        Returns:
        this builder instance
      • displayName

        public ListLogsRequest.Builder displayName​(String displayName)
        Resource name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • lifecycleState

        public ListLogsRequest.Builder lifecycleState​(LogLifecycleState lifecycleState)
        Lifecycle state of the log object
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder instance
      • page

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

        The value of the opc-next-page or opc-previous-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
      • limit

        public ListLogsRequest.Builder limit​(Integer limit)
        The maximum number of items to return in a paginated “List” call.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListLogsRequest.Builder sortBy​(ListLogsRequest.SortBy sortBy)
        The field to sort by (one column only).

        Default sort order is ascending exception of timeCreated and timeLastModified columns (descending).

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

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

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

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