com.baidubce.services.batch.model
Class CancelJobRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.batch.model.CancelJobRequest
public class CancelJobRequest
- extends AbstractBceRequest
Provides options for canceling Batch-Compute job.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelJobRequest
public CancelJobRequest()
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.