类 QueryAsynchFetchJobsResult

java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.oef.services.model.QueryAsynchFetchJobsResult

public class QueryAsynchFetchJobsResult extends HeaderResponse
Query an asynchronous fetch job response.
  • 构造器详细资料

    • QueryAsynchFetchJobsResult

      public QueryAsynchFetchJobsResult()
    • QueryAsynchFetchJobsResult

      public QueryAsynchFetchJobsResult(String requestId, String err, String code, String status, int wait, CreateAsyncFetchJobsRequest job)
      Constructor
      参数:
      requestId - Unique ID of a request
      err - Error description
      code - Error code
      status - Job status
      wait - Number of queuing jobs before the current job. The value 0 indicates that the current job is being executed, and the value -1 indicates that the job has been executed at least once (the retry logic may be triggered).
      job - Job details
  • 方法详细资料

    • getRequestId

      public String getRequestId()
      Obtain the unique ID of a request.
      覆盖:
      getRequestId 在类中 HeaderResponse
      返回:
      Unique ID of a request
    • setRequestId

      public void setRequestId(String requestId)
      Set the unique ID of a request.
      参数:
      requestId - Unique ID of a request
    • getErr

      public String getErr()
      Obtain the error description.
      返回:
      Error description
    • setErr

      public void setErr(String err)
      Set the error description.
      参数:
      err - Error description
    • getCode

      public String getCode()
      Obtain the error code.
      返回:
      Error code
    • setCode

      public void setCode(String code)
      Set the error code.
      参数:
      code - Error code
    • getStatus

      public String getStatus()
      Obtain the job status.
      返回:
      Job status
    • setStatus

      public void setStatus(String status)
      Set the job status.
      参数:
      status - Job status
    • getWait

      public int getWait()
      Obtain the number of queuing jobs.
      返回:
      Number of queuing jobs
    • setWait

      public void setWait(int wait)
      Set the number of queuing jobs.
      参数:
      wait - Number of queuing jobs
    • getJob

      public CreateAsyncFetchJobsRequest getJob()
      Obtain the job details.
      返回:
      Job details
    • setJob

      public void setJob(CreateAsyncFetchJobsRequest job)
      Set the job details.
      参数:
      job - Job details
    • toString

      public String toString()
      覆盖:
      toString 在类中 HeaderResponse