com.baidubce.services.bvw.model.workflow.task
Class TaskBaseRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bvw.model.workflow.task.TaskBaseRequest

public class TaskBaseRequest
extends AbstractBceRequest

Base task request.


Constructor Summary
TaskBaseRequest()
           
 
Method Summary
 String getTaskId()
           
static TaskBaseRequest of(String taskId)
          Construct a base task request with specified parameters.
 void setTaskId(String taskId)
           
 TaskBaseRequest withRequestCredentials(BceCredentials credentials)
           
 
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

TaskBaseRequest

public TaskBaseRequest()
Method Detail

of

public static TaskBaseRequest of(String taskId)
Construct a base task request with specified parameters.

Parameters:
taskId - The task id
Returns:
A base task request

withRequestCredentials

public TaskBaseRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

getTaskId

public String getTaskId()

setTaskId

public void setTaskId(String taskId)


Copyright © 2020. All rights reserved.