public class CreateMPSTemplateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateMPSTemplateRequest() | 
| CreateMPSTemplateRequest(CreateMPSTemplateRequest 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 | 
|---|---|
| String | getMPSCreateTemplateParams()Get MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
目前仅支持通过此方式创建以下任务类型的模板:
1. | 
| Long | getSubAppId()Get 点播[应用](/document/product/266/14574) ID。 | 
| String | getTemplateType()Get 需要创建的 MPS 模板的类型。取值:
Transcode: 创建转码模板,目前仅支持创建增强模板。 | 
| void | setMPSCreateTemplateParams(String MPSCreateTemplateParams)Set MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
目前仅支持通过此方式创建以下任务类型的模板:
1. | 
| void | setSubAppId(Long SubAppId)Set 点播[应用](/document/product/266/14574) ID。 | 
| void | setTemplateType(String TemplateType)Set 需要创建的 MPS 模板的类型。取值:
Transcode: 创建转码模板,目前仅支持创建增强模板。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateMPSTemplateRequest()
public CreateMPSTemplateRequest(CreateMPSTemplateRequest source)
public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - 点播[应用](/document/product/266/14574) ID。public String getTemplateType()
public void setTemplateType(String TemplateType)
TemplateType - 需要创建的 MPS 模板的类型。取值:
public String getMPSCreateTemplateParams()
public void setMPSCreateTemplateParams(String MPSCreateTemplateParams)
MPSCreateTemplateParams - MPS 创建模板参数。该参数用于透传至媒体处理服务(MPS),从云点播侧创建用户自定义的 MPS 任务模板。
目前仅支持通过此方式创建以下任务类型的模板:
1. 音视频增强:仅支持填写“[创建转码模板](https://cloud.tencent.com/document/product/862/37605)”接口中的 Container 、Name、Comment、RemoveVideo、RemoveAudio、VideoTemplate、AudioTemplate 和 EnhanceConfig 几个参数。其中 EnhanceConfig 此处必填,且 Container 目前暂不支持 hls。
目前模板中仅支持配置以上参数,其他参数无需填写。若包含其它参数,系统将自动忽略。以上透传参数以JSON形式表示。Copyright © 2025. All rights reserved.