public class ProcessMediaRequest extends AbstractModel
Constructor and Description |
---|
ProcessMediaRequest() |
ProcessMediaRequest(ProcessMediaRequest 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.
|
MediaInputInfo |
getInputInfo()
Get The information of the file to process.
|
MediaProcessTaskInput |
getMediaProcessTask()
Get The media processing parameters to use.
|
String |
getOutputDir()
Get The directory to save the media processing output file, such as `/movie/201907/`.
|
TaskOutputStorage |
getOutputStorage()
Get The storage location of the media processing output file.
|
Long |
getScheduleId()
Get The scheme ID.
|
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 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 |
setInputInfo(MediaInputInfo InputInfo)
Set The information of the file to process.
|
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, such as `/movie/201907/`.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set The storage location of the media processing output file.
|
void |
setScheduleId(Long ScheduleId)
Set The scheme ID.
|
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 ProcessMediaRequest()
public ProcessMediaRequest(ProcessMediaRequest source)
public MediaInputInfo getInputInfo()
public void setInputInfo(MediaInputInfo InputInfo)
InputInfo
- The information of the file to process.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- The storage location of the media 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
- The directory to save the media processing output file, such as `/movie/201907/`. If this parameter is left empty, the file will be saved to the directory in `InputInfo`.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 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 three 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.public Long getScheduleId()
public void setScheduleId(Long ScheduleId)
ScheduleId
- The scheme ID.
Notes: 1. If output information is not specified for a scheme, the request parameters `OutputStorage` and `OutputDir` will be used.
2. If a notification is not configured for a scheme, the request parameter `TaskNotifyConfig` will be used.
3. The trigger configured for a scheme is for automatically starting a scheme. It stops working when you manually call this API to start a scheme.Copyright © 2022. All rights reserved.