public class CreateWorkflowRequest extends AbstractModel
Constructor and Description |
---|
CreateWorkflowRequest() |
CreateWorkflowRequest(CreateWorkflowRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AiAnalysisTaskInput |
getAiAnalysisTask()
Get Video content analysis task parameter.
|
AiContentReviewTaskInput |
getAiContentReviewTask()
Get Type parameter of a video content audit task.
|
AiRecognitionTaskInput |
getAiRecognitionTask()
Get Type parameter of a video content recognition task.
|
MediaProcessTaskInput |
getMediaProcessTask()
Get The media processing parameters to use.
|
String |
getOutputDir()
Get The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
|
TaskOutputStorage |
getOutputStorage()
Get The location to save the output file of media processing.
|
TaskNotifyConfig |
getTaskNotifyConfig()
Get Event notification configuration for a task.
|
Long |
getTaskPriority()
Get Workflow priority.
|
WorkflowTrigger |
getTrigger()
Get Triggering rule bound to a workflow.
|
String |
getWorkflowName()
Get Workflow name of up to 128 characters, which must be unique for the same user.
|
void |
setAiAnalysisTask(AiAnalysisTaskInput AiAnalysisTask)
Set Video content analysis task parameter.
|
void |
setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
Set Type parameter of a video content audit task.
|
void |
setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
Set Type parameter of a video content recognition task.
|
void |
setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
Set The media processing parameters to use.
|
void |
setOutputDir(String OutputDir)
Set The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set The location to save the output file of media processing.
|
void |
setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
Set Event notification configuration for a task.
|
void |
setTaskPriority(Long TaskPriority)
Set Workflow priority.
|
void |
setTrigger(WorkflowTrigger Trigger)
Set Triggering rule bound to a workflow.
|
void |
setWorkflowName(String WorkflowName)
Set Workflow name of up to 128 characters, which must be unique for the same user.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateWorkflowRequest()
public CreateWorkflowRequest(CreateWorkflowRequest source)
public String getWorkflowName()
public void setWorkflowName(String WorkflowName)
WorkflowName
- Workflow name of up to 128 characters, which must be unique for the same user.public WorkflowTrigger getTrigger()
public void setTrigger(WorkflowTrigger Trigger)
Trigger
- Triggering rule bound to a workflow. If an uploaded video hits the rule for the object, the workflow will be triggered.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- The location to save the output file of media processing. If this parameter is left empty, the storage location in `Trigger` will be inherited.public String getOutputDir()
public void setOutputDir(String OutputDir)
OutputDir
- The directory to save the media processing output file, which must start and end with `/`, such as `/movie/201907/`.
If you do not specify this, the file will be saved to the trigger directory.public MediaProcessTaskInput getMediaProcessTask()
public void setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
MediaProcessTask
- The media processing parameters to use.public AiContentReviewTaskInput getAiContentReviewTask()
public void setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
AiContentReviewTask
- Type parameter of a video content audit task.public AiAnalysisTaskInput getAiAnalysisTask()
public void setAiAnalysisTask(AiAnalysisTaskInput AiAnalysisTask)
AiAnalysisTask
- Video content analysis task parameter.public AiRecognitionTaskInput getAiRecognitionTask()
public void setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
AiRecognitionTask
- Type parameter of a video content recognition task.public TaskNotifyConfig getTaskNotifyConfig()
public void setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
TaskNotifyConfig
- Event notification configuration for a task. If this parameter is left empty, no event notifications will be obtained.public Long getTaskPriority()
public void setTaskPriority(Long TaskPriority)
TaskPriority
- Workflow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used.Copyright © 2023. All rights reserved.