public class ProcessMediaRequest extends AbstractModel
Constructor and Description |
---|
ProcessMediaRequest() |
Modifier and Type | Method and Description |
---|---|
AiAnalysisTaskInput |
getAiAnalysisTask()
Get
|
AiContentReviewTaskInput |
getAiContentReviewTask()
Get Type parameter of a video content audit task.
|
AiRecognitionTaskInput |
getAiRecognitionTask()
Get Type parameter of a video content recognition task.
|
MediaInputInfo |
getInputInfo()
Get Input information of a file for video processing.
|
MediaProcessTaskInput |
getMediaProcessTask()
Get Parameter of a video processing task.
|
String |
getOutputDir()
Get Target directory of a video processing output file, such as `/movie/201907/`.
|
TaskOutputStorage |
getOutputStorage()
Get Target bucket of a video processing output file.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
TaskNotifyConfig |
getTaskNotifyConfig()
Get Event notification information of a task.
|
Long |
getTasksPriority()
Get Task flow priority.
|
void |
setAiAnalysisTask(AiAnalysisTaskInput AiAnalysisTask)
Set
|
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 |
setInputInfo(MediaInputInfo InputInfo)
Set Input information of a file for video processing.
|
void |
setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
Set Parameter of a video processing task.
|
void |
setOutputDir(String OutputDir)
Set Target directory of a video processing output file, such as `/movie/201907/`.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Target bucket of a video processing output file.
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set The ID used for deduplication.
|
void |
setTaskNotifyConfig(TaskNotifyConfig TaskNotifyConfig)
Set Event notification information of a task.
|
void |
setTasksPriority(Long TasksPriority)
Set Task flow priority.
|
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 MediaInputInfo getInputInfo()
public void setInputInfo(MediaInputInfo InputInfo)
InputInfo
- Input information of a file for video processing.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Target bucket of a video processing output file. If this parameter is left empty, the storage location in `InputInfo` will be inherited.public String getOutputDir()
public void setOutputDir(String OutputDir)
OutputDir
- Target directory of a video processing output file, such as `/movie/201907/`. If this parameter is left empty, the file will be outputted to the same directory as that in `InputInfo`.public MediaProcessTaskInput getMediaProcessTask()
public void setMediaProcessTask(MediaProcessTaskInput MediaProcessTask)
MediaProcessTask
- Parameter of a video processing task.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
- 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 information of a task. If this parameter is left empty, no event notifications will be obtained.public Long getTasksPriority()
public void setTasksPriority(Long TasksPriority)
TasksPriority
- Task flow priority. The higher the value, the higher the priority. Value range: [-10, 10]. If this parameter is left empty, 0 will be used.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.Copyright © 2020. All rights reserved.