Class GetJobLogsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • opcRequestId

        public GetJobLogsRequest.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
      • type

        public GetJobLogsRequest.Builder type​(LogEntry.Type singularValue)
        Singular setter.

        A filter that returns only logs of a specified type.

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

        public GetJobLogsRequest.Builder levelGreaterThanOrEqualTo​(LogEntry.Level levelGreaterThanOrEqualTo)
        A filter that returns only log entries that match a given severity level or greater.
        Parameters:
        levelGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • sortOrder

        public GetJobLogsRequest.Builder sortOrder​(GetJobLogsRequest.SortOrder sortOrder)
        The sort order to use when sorting returned resources.

        Ascending (ASC) or descending (DESC).

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

        public GetJobLogsRequest.Builder limit​(Integer limit)
        The number of items returned in a paginated List call.

        For information about pagination, see List Pagination.

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

        public GetJobLogsRequest.Builder page​(String page)
        The value of the opc-next-page response header from the preceding List call.

        For information about pagination, see List Pagination.

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

        public GetJobLogsRequest.Builder timestampGreaterThanOrEqualTo​(Date timestampGreaterThanOrEqualTo)
        Time stamp specifying the lower time limit for which logs are returned in a query.

        Format is defined by RFC3339. Example: 2020-01-01T12:00:00.000Z

        Parameters:
        timestampGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • timestampLessThanOrEqualTo

        public GetJobLogsRequest.Builder timestampLessThanOrEqualTo​(Date timestampLessThanOrEqualTo)
        Time stamp specifying the upper time limit for which logs are returned in a query.

        Format is defined by RFC3339. Example: 2020-02-01T12:00:00.000Z

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

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