public class ModifyTranscodeTemplateRequest extends AbstractModel
Constructor and Description |
---|
ModifyTranscodeTemplateRequest() |
ModifyTranscodeTemplateRequest(ModifyTranscodeTemplateRequest 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 |
---|---|
AudioTemplateInfoForUpdate |
getAudioTemplate()
Get Audio stream configuration parameter.
|
String |
getComment()
Get Template description.
|
String |
getContainer()
Get The container format.
|
Long |
getDefinition()
Get Unique ID of transcoding template.
|
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.
|
TEHDConfigForUpdate |
getTEHDConfig()
Get TESHD transcoding parameter.
|
VideoTemplateInfoForUpdate |
getVideoTemplate()
Get Video stream configuration parameter.
|
void |
setAudioTemplate(AudioTemplateInfoForUpdate AudioTemplate)
Set Audio stream configuration parameter.
|
void |
setComment(String Comment)
Set Template description.
|
void |
setContainer(String Container)
Set The container format.
|
void |
setDefinition(Long Definition)
Set Unique ID of transcoding template.
|
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(TEHDConfigForUpdate TEHDConfig)
Set TESHD transcoding parameter.
|
void |
setVideoTemplate(VideoTemplateInfoForUpdate 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, toJsonString
public ModifyTranscodeTemplateRequest()
public ModifyTranscodeTemplateRequest(ModifyTranscodeTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique ID of transcoding template.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 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 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 VideoTemplateInfoForUpdate getVideoTemplate()
public void setVideoTemplate(VideoTemplateInfoForUpdate VideoTemplate)
VideoTemplate
- Video stream configuration parameter.public AudioTemplateInfoForUpdate getAudioTemplate()
public void setAudioTemplate(AudioTemplateInfoForUpdate AudioTemplate)
AudioTemplate
- Audio stream configuration parameter.public TEHDConfigForUpdate getTEHDConfig()
public void setTEHDConfig(TEHDConfigForUpdate 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.