com.baidubce.services.batch.model
Class CancelJobRequest

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

public class CancelJobRequest
extends AbstractBceRequest

Provides options for canceling Batch-Compute job.


Constructor Summary
CancelJobRequest()
           
 
Method Summary
 String getJobId()
           
 void setJobId(String jobId)
           
 CancelJobRequest withJobId(String jobId)
          Configure the job ID for the request.
 CancelJobRequest 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

CancelJobRequest

public CancelJobRequest()
Method Detail

getJobId

public String getJobId()

setJobId

public void setJobId(String jobId)

withJobId

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

Parameters:
jobId - The ID of job that to be cancelled.
Returns:
CancelJobRequest

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.