类 QueryAsynchFetchJobsResult
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.services.model.QueryAsynchFetchJobsResult
Query an asynchronous fetch job response.
-
字段概要
字段修饰符和类型字段说明private Stringprivate Stringprivate CreateAsyncFetchJobsRequestprivate Stringprivate Stringprivate int从类继承的字段 cn.warpin.thirdPart.huawei.obs.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()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
requestId
-
err
-
code
-
status
-
wait
private int wait -
job
-
-
构造器详细资料
-
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
Obtain the error description.- 返回:
- Error description
-
setErr
Set the error description.- 参数:
err- Error description
-
getCode
Obtain the error code.- 返回:
- Error code
-
setCode
Set the error code.- 参数:
code- Error code
-
getStatus
Obtain the job status.- 返回:
- Job status
-
setStatus
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
Obtain the job details.- 返回:
- Job details
-
setJob
Set the job details.- 参数:
job- Job details
-
toString
- 覆盖:
toString在类中HeaderResponse
-