类 QueryAsynchFetchJobsResult
java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.oef.services.model.QueryAsynchFetchJobsResult
Query an asynchronous fetch job response.
-
字段概要
从类继承的字段 com.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器构造器说明QueryAsynchFetchJobsResult(String requestId, String err, String code, String status, int wait, CreateAsyncFetchJobsRequest job) Constructor -
方法概要
修饰符和类型方法说明getCode()Obtain the error code.getErr()Obtain the error description.getJob()Obtain the job details.Obtain the unique ID of a request.Obtain the job status.intgetWait()Obtain the number of queuing jobs.voidSet the error code.voidSet the error description.voidSet the job details.voidsetRequestId(String requestId) Set the unique ID of a request.voidSet the job status.voidsetWait(int wait) Set the number of queuing jobs.toString()从类继承的方法 com.obs.services.model.HeaderResponse
getOriginalHeaders, getResponseHeaders, getStatusCode从类继承的方法 com.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
构造器详细资料
-
QueryAsynchFetchJobsResult
public QueryAsynchFetchJobsResult() -
QueryAsynchFetchJobsResult
public QueryAsynchFetchJobsResult(String requestId, String err, String code, String status, int wait, CreateAsyncFetchJobsRequest job) Constructor- 参数:
requestId- Unique ID of a requesterr- Error descriptioncode- Error codestatus- Job statuswait- 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
Obtain the unique ID of a request.- 覆盖:
getRequestId在类中HeaderResponse- 返回:
- Unique ID of a request
-
setRequestId
Set the unique ID of a request.- 参数:
requestId- Unique ID of a request
-
getErr
-
setErr
-
getCode
-
setCode
-
getStatus
-
setStatus
-
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
-
setJob
-
toString
- 覆盖:
toString在类中HeaderResponse
-