com.baidubce.services.batch.model
Class GetJobRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.batch.model.GetJobRequest

public class GetJobRequest
extends AbstractBceRequest

Provides option for describing a Batch-Compute Job. The essential option is job ID.


Constructor Summary
GetJobRequest()
           
 
Method Summary
 String getJobId()
           
 void setJobId(String jobId)
           
 GetJobRequest withJobId(String jobId)
          Configure the job ID for the request.
 GetJobRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetJobRequest

public GetJobRequest()
Method Detail

getJobId

public String getJobId()

setJobId

public void setJobId(String jobId)

withJobId

public GetJobRequest withJobId(String jobId)
Configure the job ID for the request.

Parameters:
jobId - The ID of Batch-Compute job.
Returns:
GetJobRequest

withRequestCredentials

public GetJobRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
GetJobRequest


Copyright © 2018. All rights reserved.