public class CreateTranscodeTemplateRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateTranscodeTemplateRequest() | 
| CreateTranscodeTemplateRequest(CreateTranscodeTemplateRequest 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 | 
|---|---|
| AudioTemplateInfo | getAudioTemplate()Get Audio stream configuration parameter. | 
| String | getComment()Get Template description. | 
| String | getContainer()Get The container format. | 
| String | getName()Get Transcoding template name. | 
| Long | getRemoveAudio()Get Whether to remove audio data. | 
| Long | getRemoveVideo()Get Whether to remove video data. | 
| String | getSegmentType()Get The segment type. | 
| Long | getSubAppId()Get The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. | 
| TEHDConfig | getTEHDConfig()Get TESHD transcoding parameter. | 
| VideoTemplateInfo | getVideoTemplate()Get Video stream configuration parameter. | 
| void | setAudioTemplate(AudioTemplateInfo AudioTemplate)Set Audio stream configuration parameter. | 
| void | setComment(String Comment)Set Template description. | 
| void | setContainer(String Container)Set The container format. | 
| void | setName(String Name)Set Transcoding template name. | 
| void | setRemoveAudio(Long RemoveAudio)Set Whether to remove audio data. | 
| void | setRemoveVideo(Long RemoveVideo)Set Whether to remove video data. | 
| void | setSegmentType(String SegmentType)Set The segment type. | 
| void | setSubAppId(Long SubAppId)Set The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. | 
| void | setTEHDConfig(TEHDConfig TEHDConfig)Set TESHD transcoding parameter. | 
| void | setVideoTemplate(VideoTemplateInfo VideoTemplate)Set Video stream configuration parameter. | 
| 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, toJsonStringpublic CreateTranscodeTemplateRequest()
public CreateTranscodeTemplateRequest(CreateTranscodeTemplateRequest source)
public String getContainer()
public void setContainer(String Container)
Container - The container format. Valid values: `mp4`, `flv`, `hls`, `mp3`, `flac`, `ogg`, `m4a`, `wav` ( `mp3`, `flac`, `ogg`, `m4a`, and `wav` are audio file formats).public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.public String getName()
public void setName(String Name)
Name - Transcoding template name. Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment - Template description. Length limit: 256 characters.public Long getRemoveVideo()
public void setRemoveVideo(Long RemoveVideo)
RemoveVideo - Whether to remove video data. Valid values:
public Long getRemoveAudio()
public void setRemoveAudio(Long RemoveAudio)
RemoveAudio - Whether to remove audio data. Valid values:
public VideoTemplateInfo getVideoTemplate()
public void setVideoTemplate(VideoTemplateInfo VideoTemplate)
VideoTemplate - Video stream configuration parameter. This field is required when `RemoveVideo` is 0.public AudioTemplateInfo getAudioTemplate()
public void setAudioTemplate(AudioTemplateInfo AudioTemplate)
AudioTemplate - Audio stream configuration parameter. This field is required when `RemoveAudio` is 0.public TEHDConfig getTEHDConfig()
public void setTEHDConfig(TEHDConfig TEHDConfig)
TEHDConfig - TESHD transcoding parameter.public String getSegmentType()
public void setSegmentType(String SegmentType)
SegmentType - The segment type. This parameter is valid only if `Container` is `hls`. Valid values:
Copyright © 2023. All rights reserved.