public static final class RegisterMediaRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RegisterMediaRequest |
build() |
RegisterMediaRequest.Builder |
registerMetadatas(String registerMetadatas)
The metadata of the media file that you want to register.
|
RegisterMediaRequest.Builder |
templateGroupId(String templateGroupId)
The ID of the transcoding template group.
|
RegisterMediaRequest.Builder |
userData(String userData)
The custom configurations such as callback configurations.
|
RegisterMediaRequest.Builder |
workflowId(String workflowId)
The ID of the workflow.
|
public RegisterMediaRequest.Builder registerMetadatas(String registerMetadatas)
public RegisterMediaRequest.Builder templateGroupId(String templateGroupId)
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Processing** > **Transcoding Template Groups**. On the Transcoding Template Groups page, you can view the ID of the transcoding template group. * View the value of the TranscodeTemplateGroupId parameter returned by the [AddTranscodeTemplateGroup](~~102665~~) operation that you called to create a transcoding template group. * View the value of the TranscodeTemplateGroupId parameter returned by the [ListTranscodeTemplateGroup](~~102669~~) operation that you called to query a transcoding template group. > * If you do not need to transcode the media file, set the TemplateGroupId parameter to VOD_NO_TRANSCODE. Otherwise, an exception occurs during video playback. If you need to transcode the media file, specify the ID of the transcoding template group. > * If both the WorkflowId and TemplateGroupId parameters are set, the value of the WorkflowId parameter takes effect. For more information, see [Workflows](~~115347~~).
public RegisterMediaRequest.Builder userData(String userData)
public RegisterMediaRequest.Builder workflowId(String workflowId)
> If both the WorkflowId and TemplateGroupId parameters are set, the value of the WorkflowId parameter takes effect. For more information, see [Workflows](~~115347~~).
public RegisterMediaRequest build()
Copyright © 2023. All rights reserved.