Class GetJobLogsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180917")
    public class GetJobLogsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/resourcemanager/GetJobLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetJobLogsRequest.

    • Constructor Detail

      • GetJobLogsRequest

        public GetJobLogsRequest()
    • Method Detail

      • getJobId

        public String getJobId()
        The OCID of the job.
      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • getType

        public List<LogEntry.Type> getType()
        A filter that returns only logs of a specified type.
      • getLevelGreaterThanOrEqualTo

        public LogEntry.Level getLevelGreaterThanOrEqualTo()
        A filter that returns only log entries that match a given severity level or greater.
      • getSortOrder

        public GetJobLogsRequest.SortOrder getSortOrder()
        The sort order to use when sorting returned resources.

        Ascending (ASC) or descending (DESC).

      • getLimit

        public Integer getLimit()
        The number of items returned in a paginated List call.

        For information about pagination, see List Pagination.

      • getPage

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

        For information about pagination, see List Pagination.

      • getTimestampGreaterThanOrEqualTo

        public Date getTimestampGreaterThanOrEqualTo()
        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

      • getTimestampLessThanOrEqualTo

        public Date getTimestampLessThanOrEqualTo()
        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

      • builder

        public static GetJobLogsRequest.Builder builder()
        Return a new builder for this request object.
        Returns:
        builder for the request object
      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>