All Products
Document Center


Last Updated: May 11, 2018

Method description

Obtains description about a job based on the job ID.

Parameter description

Parameter Type Description
jobId String Job ID

Response description

  • If the call succeeds, a GetJobDescriptionResponse instance is returned. You can use the getJobDescription() method of this instance to obtain the JobDescription object.

  • If a failure occurs, a ClientException is thrown.

Sample code

  1. try{
  2. GetJobDescriptionResponse response = client.getJobDescription("job-0101010299123");
  3. //Succeeded
  4. JobDescription jobDescription = response.getJobDescription();
  5. }catch(ClientException e){
  6. e.printStackTrace();
  7. // Failed
  8. }