com.baidubce.services.bvw.model.workflow
Class WorkflowCreateRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bvw.model.workflow.WorkflowCreateRequest
public class WorkflowCreateRequest
- extends AbstractBceRequest
Create Workflow request.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkflowCreateRequest
public WorkflowCreateRequest()
of
public static WorkflowCreateRequest of(String name,
DagModel dag)
- Construct a workflow with name and dag.
- Parameters:
name - workflow name.dag - workflow dag.
- Returns:
- create workflow request.
withRequestCredentials
public AbstractBceRequest withRequestCredentials(BceCredentials credentials)
- Specified by:
withRequestCredentials in class AbstractBceRequest
getName
public String getName()
setName
public void setName(String name)
getExpression
public DagModel getExpression()
setExpression
public void setExpression(DagModel expression)
Copyright © 2020. All rights reserved.