public static final class SubmitTranscodeJobsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
SubmitTranscodeJobsRequest |
build() |
SubmitTranscodeJobsRequest.Builder |
encryptConfig(String encryptConfig)
The encryption configurations.
|
SubmitTranscodeJobsRequest.Builder |
overrideParams(String overrideParams)
The override parameter.
|
SubmitTranscodeJobsRequest.Builder |
pipelineId(String pipelineId)
The ID of the queue that you want to use to run the job.
|
SubmitTranscodeJobsRequest.Builder |
priority(String priority)
The priority of the transcoding job in all queued jobs.
|
SubmitTranscodeJobsRequest.Builder |
templateGroupId(String templateGroupId)
The ID of the transcoding template group that you want to use.
|
SubmitTranscodeJobsRequest.Builder |
userData(String userData)
The custom settings.
|
SubmitTranscodeJobsRequest.Builder |
videoId(String videoId)
The ID of the video file.
|
public SubmitTranscodeJobsRequest.Builder encryptConfig(String encryptConfig)
> * You must set **CipherText** in [EncrptConfig](~~86952~~) to the AES\_128 cipher text that is obtained from the response to the [GenerateKMSDataKey](~~455051~~) operation. Otherwise, the HLS encryption fails. For more information about how to use HLS encryption, see [HLS encryption](~~68612~~). * You must select HLS encryption for the template specified by **TemplateGroupId** no matter you use HLS encryption or Alibaba Cloud proprietary cryptography. Otherwise, the transcoded file is not encrypted.
public SubmitTranscodeJobsRequest.Builder overrideParams(String overrideParams)
public SubmitTranscodeJobsRequest.Builder pipelineId(String pipelineId)
public SubmitTranscodeJobsRequest.Builder priority(String priority)
* Valid values: **1** to **10**. * A value of **10** indicates the highest priority. * Default value: **6**. > This parameter takes effect only on the queued transcoding jobs. The priorities of the in-progress transcoding jobs are not affected.
public SubmitTranscodeJobsRequest.Builder templateGroupId(String templateGroupId)
public SubmitTranscodeJobsRequest.Builder userData(String userData)
> To use the callback configurations specified by this parameter, you must configure an HTTP callback URL and specify the types of the callback events in the ApsaraVideo VOD console. Otherwise, the callback configurations do not take effect.
public SubmitTranscodeJobsRequest.Builder videoId(String videoId)
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of VideoId from the response to the [CreateUploadVideo](~~55407~~) operation that you call to upload the video. * Obtain the value of VideoId from the response to the [SearchMedia](~~86044~~) operation after you upload the video.
public SubmitTranscodeJobsRequest build()
Copyright © 2024. All rights reserved.